diff options
-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 67011bd..b3f4008 100644 --- a/drivers/usb/gadget/imx_udc.c +++ b/drivers/usb/gadget/imx_udc.c @@ -464,7 +464,7 @@ static void usb_set_mode_device(void) ; DBG("DOORE RESET END\n"); -#ifdef CONFIG_MX6Q +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) reset_usb_phy1(); #endif DBG("init core to device mode\n"); @@ -812,7 +812,7 @@ int mxc_udc_init(void) set_usboh3_clk(); set_usb_phy1_clk(); enable_usboh3_clk(1); -#ifdef CONFIG_MX6Q +#if defined(CONFIG_MX6Q) || defined(CONFIG_MX6DL) udc_disable_over_current(); #endif enable_usb_phy1_clk(1); |