ramips: fix patches after 3.14.32 bump
[openwrt.git] / target / linux / ramips / patches-3.14 / 0059-USB-fix-dwc2.patch
1 --- a/drivers/usb/dwc2/hcd.c
2 +++ b/drivers/usb/dwc2/hcd.c
3 @@ -47,6 +47,7 @@
4  #include <linux/io.h>
5  #include <linux/slab.h>
6  #include <linux/usb.h>
7 +#include <linux/reset.h>
8  
9  #include <linux/usb/hcd.h>
10  #include <linux/usb/ch11.h>
11 @@ -2764,6 +2765,8 @@ int dwc2_hcd_init(struct dwc2_hsotg *hso
12  
13         dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n");
14  
15 +       device_reset(hsotg->dev);
16 +
17         /* Detect config values from hardware */
18         retval = dwc2_get_hwparams(hsotg);
19