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

Bharat Kumar Gogada bharat.kumar.gogada at xilinx.com
Thu Sep 1 03:14:44 PDT 2016


Dispose virtual irq being created for MSI interrupts.

Signed-off-by: Bharat Kumar Gogada <bharatku at xilinx.com>
---
 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




More information about the linux-arm-kernel mailing list