aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/quirks.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 8141f442e3df..a1682f19bcb0 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2421,6 +2421,9 @@ static void __devinit __nv_msi_ht_cap_quirk(struct pci_dev *dev, int all)
2421 int pos; 2421 int pos;
2422 int found; 2422 int found;
2423 2423
2424 if (!pci_msi_enabled())
2425 return;
2426
2424 /* check if there is HT MSI cap or enabled on this device */ 2427 /* check if there is HT MSI cap or enabled on this device */
2425 found = ht_check_msi_mapping(dev); 2428 found = ht_check_msi_mapping(dev);
2426 2429