PCI: xilinx: Dispose of MSI virtual IRQ

Dispose of virtual IRQ being created for MSI interrupts.

Signed-off-by: Bharat Kumar Gogada <bharatku@xilinx.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
Bharat Kumar Gogada 2016-09-01 15:44:44 +05:30 committed by Bjorn Helgaas
parent 8a4036edf9
commit b328f3ce99
1 changed files with 1 additions and 0 deletions

View File

@ -261,6 +261,7 @@ static void xilinx_msi_teardown_irq(struct msi_controller *chip,
unsigned int irq) unsigned int irq)
{ {
xilinx_pcie_destroy_msi(irq); xilinx_pcie_destroy_msi(irq);
irq_dispose_mapping(irq);
} }
/** /**