Skip to content

Commit d28d4ad

Browse files
committed
PCI/MSI: Use msi_mask_irq() in pci_msi_shutdown()
No point in using the raw write function from shutdown. Preparatory change to introduce proper serialization for the msi_desc::masked cache. Signed-off-by: Thomas Gleixner <[email protected]> Tested-by: Marc Zyngier <[email protected]> Reviewed-by: Marc Zyngier <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected]
1 parent 689e6b5 commit d28d4ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/msi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ static void pci_msi_shutdown(struct pci_dev *dev)
961961

962962
/* Return the device with MSI unmasked as initial states */
963963
mask = msi_mask(desc->msi_attrib.multi_cap);
964-
__pci_msi_desc_mask_irq(desc, mask, 0);
964+
msi_mask_irq(desc, mask, 0);
965965

966966
/* Restore dev->irq to its default pin-assertion IRQ */
967967
dev->irq = desc->msi_attrib.default_irq;

0 commit comments

Comments
 (0)