summaryrefslogtreecommitdiff
path: root/firmware/target/arm/usb-fw-pp502x.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/usb-fw-pp502x.c')
-rw-r--r--firmware/target/arm/usb-fw-pp502x.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/usb-fw-pp502x.c b/firmware/target/arm/usb-fw-pp502x.c
index a5afc20056..792a1b0131 100644
--- a/firmware/target/arm/usb-fw-pp502x.c
+++ b/firmware/target/arm/usb-fw-pp502x.c
@@ -109,8 +109,10 @@ void usb_enable(bool on)
109 if(button_status()==BUTTON_RIGHT) 109 if(button_status()==BUTTON_RIGHT)
110#endif /* defined(IRIVER_H10) || defined (IRIVER_H10_5GB) */ 110#endif /* defined(IRIVER_H10) || defined (IRIVER_H10_5GB) */
111 { 111 {
112#ifndef HAVE_FLASH_STORAGE
112 ata_sleepnow(); /* Immediately spindown the disk. */ 113 ata_sleepnow(); /* Immediately spindown the disk. */
113 sleep(HZ*2); 114 sleep(HZ*2);
115#endif
114 116
115#ifdef IPOD_ARCH /* The following code is based on ipodlinux */ 117#ifdef IPOD_ARCH /* The following code is based on ipodlinux */
116#if CONFIG_CPU == PP5020 118#if CONFIG_CPU == PP5020