summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index 71cf91ba8e..c3cf7f4d77 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -239,9 +239,10 @@ void usb_drv_init(void)
239 239
240void usb_drv_exit(void) 240void usb_drv_exit(void)
241{ 241{
242 DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
243
242 VIC_INT_EN_CLEAR = INTERRUPT_USB; 244 VIC_INT_EN_CLEAR = INTERRUPT_USB;
243 245
244 DCTL = DCTL_pwronprgdone | DCTL_sftdiscon;
245 sleep(HZ/20); 246 sleep(HZ/20);
246 247
247 CGU_USB = 0; 248 CGU_USB = 0;