msm: pcie: remove unnecessary cleanup code for Synopsys MSI

There are unnecessary cleanup code which alters the descriptor
of a Synposys MSI IRQ and this causes the IRQ to be unusable
afterwards. Remove the unnecessary cleanup code for Synopsys
MSI so that the IRQ will remain functional.

Change-Id: I87221f9a59d014df21af251277866c511c5375eb
Signed-off-by: Tony Truong <truong@codeaurora.org>
This commit is contained in:
Tony Truong 2015-05-14 13:07:35 -07:00 committed by David Keitel
parent 856928e234
commit 3ca71575e3

View file

@ -4544,9 +4544,6 @@ void msm_pcie_destroy_irq(unsigned int irq, struct msm_pcie_dev_t *pcie_dev)
PCIE_DBG(dev, "RC%d\n", dev->rc_idx);
if (!dev->msi_gicm_addr)
irq_dispose_mapping(irq);
PCIE_DBG(dev, "Before clear_bit pos:%d msi_irq_in_use:%ld\n",
pos, *dev->msi_irq_in_use);
clear_bit(pos, dev->msi_irq_in_use);