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>
Thu, 2 Feb 2012 20:46:36 +0000 (12:46 -0800)
commite4436a7c17ac2b5e138f93f83a541cba9b311685
tree66051e7d756a025cd02d34bb3fe4fbc82aeb859b
parent529febeee680dc22416fca033151a5e8bc620447
usb: Skip PCI USB quirk handling for Netlogic XLP

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>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c