summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata_mmc.c
diff options
context:
space:
mode:
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 65abcb57e5..9491429542 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -987,12 +987,7 @@ static void mmc_thread(void)
987 queue_wait_w_tmo(&mmc_queue, &ev, HZ); 987 queue_wait_w_tmo(&mmc_queue, &ev, HZ);
988 switch ( ev.id ) 988 switch ( ev.id )
989 { 989 {
990 case SYS_POWEROFF:
991 call_ata_idle_notifys(false);
992 break;
993
994 case SYS_USB_CONNECTED: 990 case SYS_USB_CONNECTED:
995 call_ata_idle_notifys(false);
996 usb_acknowledge(SYS_USB_CONNECTED_ACK); 991 usb_acknowledge(SYS_USB_CONNECTED_ACK);
997 /* Wait until the USB cable is extracted again */ 992 /* Wait until the USB cable is extracted again */
998 usb_wait_for_disconnect(&mmc_queue); 993 usb_wait_for_disconnect(&mmc_queue);