usb: xhci: tegra: do not enable MSI interrupts
joyw [Wed, 3 Jul 2013 11:07:47 +0000 (19:07 +0800)]
Tegra xhc isn't a PCI device, so there is no MSI interrupts.
 (CONFIG_PCI=y) doesn't necessarily mean Tegra xhc is a PCI
device. Instead, it means arch has PCI bus support.

Bug 1316579
Bug 1353393

Change-Id: Ib88e9a16399b45aa43bf2ac6c534d67108144858
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/244718
(cherry picked from commit 95681a725e96dcdfc6b7b46fd43e6a2ac7b61c69)
Signed-off-by: joyw <joyw@nvidia.com>
Reviewed-on: http://git-master/r/265374
Reviewed-by: Jui Chang Kuo <jckuo@nvidia.com>
Reviewed-by: Henry Lin <henryl@nvidia.com>
Reviewed-by: Ajay Gupta <ajayg@nvidia.com>
Reviewed-by: WK Tsai <wtsai@nvidia.com>
Reviewed-by: Ashutosh Jha <ajha@nvidia.com>

drivers/usb/host/xhci.c

index e7cfba9..4b8df00 100644 (file)
@@ -189,7 +189,7 @@ int xhci_reset(struct xhci_hcd *xhci)
        return ret;
 }
 
-#ifdef CONFIG_PCI
+#if defined(CONFIG_PCI) && !defined(CONFIG_TEGRA_XUSB_PLATFORM)
 static int xhci_free_msi(struct xhci_hcd *xhci)
 {
        int i;