summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-11-26 09:53:42 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-11-26 09:53:42 +0000
commit4049d44b03d4a17cbf2f48f5f1360ac397da5ef5 (patch)
tree821366dcb8e02a3045976f7b24e78565b817f854 /firmware/drivers
parente25c840b982fbdf9c61f789e08df244f7cb91845 (diff)
downloadrockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.zip
rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.gz
rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.bz2
rockbox-4049d44b03d4a17cbf2f48f5f1360ac397da5ef5.tar.xz
dont allow the ata callbacks to be run less than once every 30s unless
explicitly forced to. The sleep_after param is only true in the Q_SLEEP event, so its uneeded, so removed git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11599 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index bb8eef9..0de2eb1 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1285,7 +1285,7 @@ static void ata_thread(void)
break;
#endif
case Q_SLEEP:
- call_ata_idle_notifys(true);
+ call_ata_idle_notifys(false);
last_disk_activity = current_tick - sleep_timeout + (HZ/2);
break;