aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/pci/msi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c
index a088fc6f5838..9ab4fe8f20af 100644
--- a/drivers/pci/msi.c
+++ b/drivers/pci/msi.c
@@ -383,6 +383,7 @@ static int msi_capability_init(struct pci_dev *dev, int nvec)
383 /* Configure MSI capability structure */ 383 /* Configure MSI capability structure */
384 ret = arch_setup_msi_irqs(dev, nvec, PCI_CAP_ID_MSI); 384 ret = arch_setup_msi_irqs(dev, nvec, PCI_CAP_ID_MSI);
385 if (ret) { 385 if (ret) {
386 msi_mask_irq(entry, mask, ~mask);
386 msi_free_irqs(dev); 387 msi_free_irqs(dev);
387 return ret; 388 return ret;
388 } 389 }