From: Jisheng Zhang Date: Tue, 29 Jul 2014 01:33:30 +0000 (+0800) Subject: PCI: tegra: Add missing cleanup in error path and tegra_msi_teardown_irq() X-Git-Tag: omap-for-v3.19/prcm-cleanup~136^2~14^7~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=019fa46ebc93c654da1b29f472a66b3bf7880464;p=pandora-kernel.git PCI: tegra: Add missing cleanup in error path and tegra_msi_teardown_irq() We should call tegra_msi_free() to free the MSI bit if irq_create_mapping() fails. And we need to dispose the IRQ mapping during IRQ teardown. [bhelgaas: made irqd_to_hwirq() change suggested by Thierry] Signed-off-by: Jisheng Zhang Signed-off-by: Bjorn Helgaas Reviewed-by: Thierry Reding Acked-by: Thierry Reding --- Reading git-diff-tree failed