projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc985c1
)
usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c
author
Jayachandran C
<jayachandranc@netlogicmicro.com>
Fri, 18 Nov 2011 06:42:41 +0000
(12:12 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 18 Nov 2011 19:16:36 +0000
(11:16 -0800)
Fix compile error, HC_LENGTH now takes two parameters and ehci
needs to be passed as the first parameter.
Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-xls.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/ehci-xls.c
b/drivers/usb/host/ehci-xls.c
index fe74bd6760187c221e79dae448005c07a25863be..b4fb511d24bcda76a4101aa605e01384c5962d21 100644
(file)
--- a/
drivers/usb/host/ehci-xls.c
+++ b/
drivers/usb/host/ehci-xls.c
@@
-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");