diff options
Diffstat (limited to 'firmware/target/arm/as3525/usb-drv-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/usb-drv-as3525.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525.c b/firmware/target/arm/as3525/usb-drv-as3525.c index 0b73713c51..0b69e8953b 100644 --- a/firmware/target/arm/as3525/usb-drv-as3525.c +++ b/firmware/target/arm/as3525/usb-drv-as3525.c @@ -80,8 +80,7 @@ void usb_attach(void) /* delay is in milliseconds */ static inline void usb_delay(int delay) { - while(delay--) - udelay(1000); + udelay(1000 * delay); } static void usb_phy_on(void) |