ramips: update v3.10 patches
[openwrt.git] / target / linux / ramips / patches-3.10 / 0106-USB-dwc2.patch
1 --- a/drivers/staging/dwc2/hcd.c
2 +++ b/drivers/staging/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 @@ -2712,6 +2713,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         /*
18          * Attempt to ensure this device is really a DWC_otg Controller.
19          * Read and verify the GSNPSID register contents. The value should be