Message ID | 163948488529.23020.12461686869161043299.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,irq/urgent] PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error | expand |
diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 6748cf9..d84cf30 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -784,7 +784,7 @@ out_free: free_msi_irqs(dev); out_disable: - pci_msix_clear_and_set_ctrl(dev, PCI_MSIX_FLAGS_ENABLE, 0); + pci_msix_clear_and_set_ctrl(dev, PCI_MSIX_FLAGS_MASKALL | PCI_MSIX_FLAGS_ENABLE, 0); return ret; }