ramips: add preliminary support for the RT3662/RT3883 SoCs
[openwrt/svn-archive/archive.git] / target / linux / ramips / patches-3.2 / 301-rt3883-ehci-3.2-fix.patch
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 (file)
index 0000000..e2ba05d
--- /dev/null
@@ -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");