aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch')
-rw-r--r--target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch b/target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch
new file mode 100644
index 0000000000..e2ba05dfff
--- /dev/null
+++ b/target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch
@@ -0,0 +1,11 @@
+--- a/drivers/usb/host/ehci-rt3883.c
++++ b/drivers/usb/host/ehci-rt3883.c
+@@ -21,7 +21,7 @@ static int ehci_rt3883_init(struct usb_h
+
+ ehci->caps = hcd->regs;
+ ehci->regs = hcd->regs +
+- HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
++ HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
+ dbg_hcs_params(ehci, "reset");
+ dbg_hcc_params(ehci, "reset");
+