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");
+++ /dev/null
---- 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");
-