summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata_mmc.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2006-11-09 07:02:18 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2006-11-09 07:02:18 +0000
commitfd0e640eddcabdc5f5d8dc397df01be69738be37 (patch)
tree7860543ba226cc79fc7d0e7a3804f2aca1100308 /firmware/drivers/ata_mmc.c
parentd57fc0c5819a4af25a6bcbc1c21e8960e042220d (diff)
downloadrockbox-fd0e640eddcabdc5f5d8dc397df01be69738be37.zip
rockbox-fd0e640eddcabdc5f5d8dc397df01be69738be37.tar.gz
rockbox-fd0e640eddcabdc5f5d8dc397df01be69738be37.tar.bz2
rockbox-fd0e640eddcabdc5f5d8dc397df01be69738be37.tar.xz
Bah, Linus was right, trying to call the ata_idle callbacks on usb and
shutdown doesnt work. Threads with callbacks must handle these 2 events instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11477 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/ata_mmc.c')
-rw-r--r--firmware/drivers/ata_mmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index 65abcb5..9491429 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -987,12 +987,7 @@ static void mmc_thread(void)
queue_wait_w_tmo(&mmc_queue, &ev, HZ);
switch ( ev.id )
{
- case SYS_POWEROFF:
- call_ata_idle_notifys(false);
- break;
-
case SYS_USB_CONNECTED:
- call_ata_idle_notifys(false);
usb_acknowledge(SYS_USB_CONNECTED_ACK);
/* Wait until the USB cable is extracted again */
usb_wait_for_disconnect(&mmc_queue);