summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/ata_mmc.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/firmware/drivers/ata_mmc.c b/firmware/drivers/ata_mmc.c
index 3525203840..d55baf3eea 100644
--- a/firmware/drivers/ata_mmc.c
+++ b/firmware/drivers/ata_mmc.c
@@ -524,20 +524,14 @@ void ata_spindown(int seconds)
524 524
525bool ata_disk_is_active(void) 525bool ata_disk_is_active(void)
526{ 526{
527 return true; 527 return false; /* FIXME: dirty, but makes idle poweroff work */
528} 528}
529 529
530int ata_standby(int time) 530int ata_standby(int time)
531{ 531{
532 int ret = 0;
533
534 mutex_lock(&ata_mtx);
535
536 /* ToDo: is there an equivalent? */
537 (void)time; 532 (void)time;
538 533
539 mutex_unlock(&ata_mtx); 534 return 0;
540 return ret;
541} 535}
542 536
543int ata_sleep(void) 537int ata_sleep(void)