diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-08 01:55:26 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2006-11-08 01:55:26 +0000 |
commit | f184152c0501a80e95ad871927d766fdee50281b (patch) | |
tree | ecfa4b6cdf24065b32467d6d7274a2659c3ec9b0 /firmware/powermgmt.c | |
parent | 5dd07759248fec1407f6b3d4d1fb177554e45a13 (diff) | |
download | rockbox-f184152c0501a80e95ad871927d766fdee50281b.tar.gz rockbox-f184152c0501a80e95ad871927d766fdee50281b.zip |
* changes to ata.c - idle callbacks are called after 2 sec of real idle,
and shutdown and usb (it makes sense here). ata_sleep doesnt get broken
by callbacks.
* allow ata_sleep() at the end of buffering again
* config block uses ata_idle instead of delayed sector when saving
* remove delayed sector code from ata_mmc.c (idle callbacks are not yet
implemented for ata_mmc.c tho)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11461 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index f258502c2c..2ca176d072 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -1098,7 +1098,6 @@ void shutdown_hw(void) | |||
1098 | #ifdef HAVE_LCD_BITMAP | 1098 | #ifdef HAVE_LCD_BITMAP |
1099 | glyph_cache_save(); | 1099 | glyph_cache_save(); |
1100 | #endif | 1100 | #endif |
1101 | ata_flush(); | ||
1102 | ata_spindown(1); | 1101 | ata_spindown(1); |
1103 | while(ata_disk_is_active()) | 1102 | while(ata_disk_is_active()) |
1104 | sleep(HZ/10); | 1103 | sleep(HZ/10); |