openwrt/target/linux/ramips/patches-3.2/301-rt3883-ehci-3.2-fix.patch

12 lines
386 B
Diff
Raw Normal View History

--- 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");