[PATCH 4/6] PCI: Xilinx: Dispose MSI virtual irq

From: Bharat Kumar Gogada
Date: Thu Sep 01 2016 - 06:15:27 EST


Dispose virtual irq being created for MSI interrupts.

Signed-off-by: Bharat Kumar Gogada <bharatku@xxxxxxxxxx>
---
drivers/pci/host/pcie-xilinx.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pci/host/pcie-xilinx.c b/drivers/pci/host/pcie-xilinx.c
index ec2844a..a276fa6 100644
--- a/drivers/pci/host/pcie-xilinx.c
+++ b/drivers/pci/host/pcie-xilinx.c
@@ -261,6 +261,7 @@ static void xilinx_msi_teardown_irq(struct msi_controller *chip,
unsigned int irq)
{
xilinx_pcie_destroy_msi(irq);
+ irq_dispose_mapping(irq);
}

/**
--
2.1.1