]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
usb: Skip PCI USB quirk handling for Netlogic XLP
authorJayachandran C <jayachandranc@netlogicmicro.com>
Fri, 27 Jan 2012 14:57:32 +0000 (20:27 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Feb 2012 19:28:50 +0000 (11:28 -0800)
commit6da6c702a675b75f7c4bcc23ca3befcd25bb07e4
treea0212ba4c636544658a102afc3d97495d75c36f6
parenta86c3948b06007b3befd1b796598e46527ccea9a
usb: Skip PCI USB quirk handling for Netlogic XLP

commit e4436a7c17ac2b5e138f93f83a541cba9b311685 upstream.

The Netlogic XLP SoC's on-chip USB controller appears as a PCI
USB device, but does not need the EHCI/OHCI handoff done in
usb/host/pci-quirks.c.

The pci-quirks.c is enabled for all vendors and devices, and is
enabled if USB and PCI are configured.

If we do not skip the qurik handling on XLP, the readb() call in
ehci_bios_handoff() will cause a crash since byte access is not
supported for EHCI registers in XLP.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c