2013-07-15 19:34:13 +08:00
|
|
|
Index: linux-3.10.1/drivers/staging/dwc2/hcd.c
|
|
|
|
===================================================================
|
|
|
|
--- linux-3.10.1.orig/drivers/staging/dwc2/hcd.c 2013-07-13 20:42:41.000000000 +0200
|
2013-07-16 05:05:36 +08:00
|
|
|
+++ linux-3.10.1/drivers/staging/dwc2/hcd.c 2013-07-15 18:23:20.193246998 +0200
|
|
|
|
@@ -47,6 +47,7 @@
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include <linux/slab.h>
|
|
|
|
#include <linux/usb.h>
|
|
|
|
+#include <linux/reset.h>
|
|
|
|
|
|
|
|
#include <linux/usb/hcd.h>
|
|
|
|
#include <linux/usb/ch11.h>
|
|
|
|
@@ -2712,6 +2713,8 @@
|
2013-07-15 19:34:13 +08:00
|
|
|
|
|
|
|
dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n");
|
|
|
|
|
2013-07-16 05:05:36 +08:00
|
|
|
+ device_reset(hsotg->dev);
|
2013-07-15 19:34:13 +08:00
|
|
|
+
|
|
|
|
/*
|
|
|
|
* Attempt to ensure this device is really a DWC_otg Controller.
|
|
|
|
* Read and verify the GSNPSID register contents. The value should be
|