commit | 019fa46ebc93c654da1b29f472a66b3bf7880464 | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@marvell.com> | Tue Jul 29 09:33:30 2014 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Sep 04 14:49:24 2014 -0600 |
tree | 2ac0ee08e3a6c9bec67891657da79c6e14af3ee6 | |
parent | 8d38821cbcf51292cd5a23469d03bd38932a3ba9 [diff] |
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 <jszhang@marvell.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Acked-by: Thierry Reding <treding@nvidia.com>