diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/arm/usb-s3c6400x.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/usb-s3c6400x.c b/firmware/target/arm/usb-s3c6400x.c index 48521aa622..af4e564442 100644 --- a/firmware/target/arm/usb-s3c6400x.c +++ b/firmware/target/arm/usb-s3c6400x.c | |||
@@ -354,6 +354,12 @@ void usb_drv_exit(void) | |||
354 | 354 | ||
355 | CGU_USB = 0; | 355 | CGU_USB = 0; |
356 | bitclr32(&CGU_PERI, CGU_USB_CLOCK_ENABLE); | 356 | bitclr32(&CGU_PERI, CGU_USB_CLOCK_ENABLE); |
357 | |||
358 | /* reset USB_PHY to prevent power consumption */ | ||
359 | CCU_SRC = CCU_SRC_USB_PHY_EN; | ||
360 | CCU_SRL = CCU_SRL_MAGIC_NUMBER; | ||
361 | CCU_SRL = 0; | ||
362 | |||
357 | } | 363 | } |
358 | #elif CONFIG_CPU == S5L8701 || CONFIG_CPU == S5L8702 | 364 | #elif CONFIG_CPU == S5L8701 || CONFIG_CPU == S5L8702 |
359 | static void usb_reset(void) | 365 | static void usb_reset(void) |