Skip to content
Snippets Groups Projects
Commit bd78f2b5 authored by John Crispin's avatar John Crispin
Browse files

ramips: add a patch to make dwc2 work with boards that have an old bootloader


Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>

SVN-Revision: 37339
parent 3cfa1878
No related branches found
No related tags found
No related merge requests found
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 @@
dev_dbg(hsotg->dev, "DWC OTG HCD INIT\n");
+ writel(0, hsotg->regs + 0xe00);
+
/*
* Attempt to ensure this device is really a DWC_otg Controller.
* Read and verify the GSNPSID register contents. The value should be
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment