diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/gadget/imx_udc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/imx_udc.c b/drivers/usb/gadget/imx_udc.c index 35fbd14..9cdf3c8 100644 --- a/drivers/usb/gadget/imx_udc.c +++ b/drivers/usb/gadget/imx_udc.c @@ -583,7 +583,7 @@ static void usb_set_mode_device(void) ; DBG("DOORE RESET END\n"); -#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL) +#if defined(CONFIG_MX6) reset_usb_phy1(); #endif DBG("init core to device mode\n"); @@ -983,7 +983,7 @@ int mxc_udc_init(void) udc_pins_setting(); set_usb_phy1_clk(); enable_usboh3_clk(1); -#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) || defined(CONFIG_MX6SL) +#if defined(CONFIG_MX6) udc_disable_over_current(); #endif enable_usb_phy1_clk(1); |