commit | ff3c664505bf8a8334bca5045e87b85cfe4d2277 | [log] [tgz] |
---|---|---|
author | Neil Greatorex <neil@fatboyfat.co.uk> | Fri Apr 18 14:19:49 2014 +0200 |
committer | Jason Cooper <jason@lakedaemon.net> | Sun Apr 20 19:14:34 2014 +0000 |
tree | 0ddd1688a206b8ad3998892c555a06eb124a1677 | |
parent | 830cbe4b7a918613276aa3d3b28d24410623f92c [diff] |
irqchip: armada-370-xp: Fix releasing of MSIs Store the value of d->hwirq in a local variable as the real value is wiped out by calling irq_dispose_mapping. Without this patch, the armada_370_xp_free_msi function would always free MSI#0, no matter what was passed to it. Fixes: 31f614edb726fcc4d5aa0f2895fbdec9b04a3ca4 ('irqchip: armada-370-xp: implement MSI support') Cc: <stable@vger.kernel.org> # v3.13+ Signed-off-by: Neil Greatorex <neil@fatboyfat.co.uk> Link: https://lkml.kernel.org/r/1397823593-1932-4-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Link: https://lkml.kernel.org/r/1397823593-1932-4-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>