Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e253dec3 authored by Jayachandran C's avatar Jayachandran C Committed by Greg Kroah-Hartman
Browse files

usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c



Fix compile error, HC_LENGTH now takes two parameters and ehci
needs to be passed as the first parameter.

Signed-off-by: default avatarJayachandran C <jayachandranc@netlogicmicro.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bc985c10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ static int ehci_xls_setup(struct usb_hcd *hcd)

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