From ce72b2bec2d38217f56f91a7863f011427509d9a Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 15 Jul 2013 21:05:36 +0000 Subject: [PATCH] ramips: add a explicit reset to dwc2 Signed-off-by: John Crispin SVN-Revision: 37352 --- .../linux/ramips/patches-3.10/0035-USB-dwc2.patch | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch b/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch index bd84c46085..0b494d5fc0 100644 --- a/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch +++ b/target/linux/ramips/patches-3.10/0035-USB-dwc2.patch @@ -1,12 +1,20 @@ 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 -+++ linux-3.10.1/drivers/staging/dwc2/hcd.c 2013-07-15 13:25:34.220821275 +0200 -@@ -2712,6 +2712,8 @@ ++++ linux-3.10.1/drivers/staging/dwc2/hcd.c 2013-07-15 18:23:20.193246998 +0200 +@@ -47,6 +47,7 @@ + #include + #include + #include ++#include + + #include + #include +@@ -2712,6 +2713,8 @@ dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n"); -+ writel(0, hsotg->regs + 0xe00); ++ device_reset(hsotg->dev); + /* * Attempt to ensure this device is really a DWC_otg Controller. -- 2.30.2