kernel: update 3.9 to 3.9.11
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.10 / 0035-USB-dwc2.patch
1 Index: linux-3.10.1/drivers/staging/dwc2/hcd.c
2 ===================================================================
3 --- linux-3.10.1.orig/drivers/staging/dwc2/hcd.c 2013-07-13 20:42:41.000000000 +0200
4 +++ linux-3.10.1/drivers/staging/dwc2/hcd.c 2013-07-15 18:23:20.193246998 +0200
5 @@ -47,6 +47,7 @@
6 #include <linux/io.h>
7 #include <linux/slab.h>
8 #include <linux/usb.h>
9 +#include <linux/reset.h>
10
11 #include <linux/usb/hcd.h>
12 #include <linux/usb/ch11.h>
13 @@ -2712,6 +2713,8 @@
14
15 dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n");
16
17 + device_reset(hsotg->dev);
18 +
19 /*
20 * Attempt to ensure this device is really a DWC_otg Controller.
21 * Read and verify the GSNPSID register contents. The value should be