summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoyw <joyw@nvidia.com>2013-07-03 19:07:47 +0800
committerBharat Nihalani <bnihalani@nvidia.com>2013-10-06 02:34:58 -0700
commitcb7faaa3f37cf5d90aaefde7fef8da35ab99fc2b (patch)
tree95bb370f700b61bca58f26f122fcc304e3f9c48c
parentbe902e43356f4e4cba0cc9df6f4d5b1f901425f2 (diff)
usb: xhci: tegra: do not enable MSI interrupts
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 1382824 Change-Id: Ib88e9a16399b45aa43bf2ac6c534d67108144858 Reviewed-on: http://git-master/r/244718 (cherry picked from commit 95681a725e96dcdfc6b7b46fd43e6a2ac7b61c69) Signed-off-by: joyw <joyw@nvidia.com> Signed-off-by: Shridhar Rasal <srasal@nvidia.com> Reviewed-on: http://git-master/r/282013 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
-rw-r--r--drivers/usb/host/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 50c4a63c2660..9c845ea8dae7 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -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;