diff options
-rw-r--r-- | drivers/pci/msi.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 944e45e4a84f..d9f06fbfa0bf 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c | |||
@@ -653,10 +653,7 @@ static int msi_free_irqs(struct pci_dev* dev) | |||
653 | 653 | ||
654 | list_for_each_entry_safe(entry, tmp, &dev->msi_list, list) { | 654 | list_for_each_entry_safe(entry, tmp, &dev->msi_list, list) { |
655 | if (entry->msi_attrib.is_msix) { | 655 | if (entry->msi_attrib.is_msix) { |
656 | writel(1, entry->mask_base + entry->msi_attrib.entry_nr | 656 | msix_mask_irq(entry, 1); |
657 | * PCI_MSIX_ENTRY_SIZE | ||
658 | + PCI_MSIX_ENTRY_VECTOR_CTRL_OFFSET); | ||
659 | |||
660 | if (list_is_last(&entry->list, &dev->msi_list)) | 657 | if (list_is_last(&entry->list, &dev->msi_list)) |
661 | iounmap(entry->mask_base); | 658 | iounmap(entry->mask_base); |
662 | } | 659 | } |