summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorThom Johansen <thomj@rockbox.org>2006-02-19 21:22:24 +0000
committerThom Johansen <thomj@rockbox.org>2006-02-19 21:22:24 +0000
commit4b98554083155884dde7a49ae1d4e91ee038329e (patch)
treedede6c2ec9731d8ea9deb72cdc47d65f731b4366 /firmware
parent6e3ad7eead0ed91e83aebb474ed4463d79583fd5 (diff)
downloadrockbox-4b98554083155884dde7a49ae1d4e91ee038329e.tar.gz
rockbox-4b98554083155884dde7a49ae1d4e91ee038329e.tar.bz2
rockbox-4b98554083155884dde7a49ae1d4e91ee038329e.zip
Fix slow shutdown on ipod nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8741 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/ata.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index a5fb78d6bd..e4600e171a 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -996,7 +996,11 @@ void ata_poweroff(bool enable)
bool ata_disk_is_active(void)
{
+#ifdef APPLE_IPODNANO
+ return false;
+#else
return !sleeping;
+#endif
}
static int ata_perform_sleep(void)