Commit 7b971170 authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman

[PATCH] USB: ehci needs a readb() on IDP425 PCI (ARM)

This is a one-line "obviously correct" patch that Lutz reports
is needed on one ARM platform.
parent 2cb8e202
......@@ -331,7 +331,8 @@ static int ehci_start (struct usb_hcd *hcd)
spin_lock_init (&ehci->lock);
ehci->caps = (struct ehci_caps *) hcd->regs;
ehci->regs = (struct ehci_regs *) (hcd->regs + ehci->caps->length);
ehci->regs = (struct ehci_regs *) (hcd->regs +
readb (&ehci->caps->length));
dbg_hcs_params (ehci, "ehci_start");
dbg_hcc_params (ehci, "ehci_start");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment