]> git.ipfire.org Git - people/arne_f/kernel.git/commit
irqchip/exiu: Fix the index of fwspec for IRQ type
authorChen Baozi <chenbaozi@phytium.com.cn>
Tue, 17 Nov 2020 03:20:15 +0000 (11:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 Dec 2020 07:52:02 +0000 (08:52 +0100)
commit4e184c914a74753a4a8ebd235af45da2e433f0b3
tree275237ccdb919cbe64e9c531b4725cf5d47ca692
parent1617bb15cedd1c1a2ea04a7dc1d9b2b6241fb882
irqchip/exiu: Fix the index of fwspec for IRQ type

commit d001e41e1b15716e9b759df5ef00510699f85282 upstream.

Since fwspec->param_count of ACPI node is two, the index of IRQ type
in fwspec->param[] should be 1 rather than 2.

Fixes: 3d090a36c8c8 ("irqchip/exiu: Implement ACPI support")
Signed-off-by: Chen Baozi <chenbaozi@phytium.com.cn>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20201117032015.11805-1-cbz@baozis.org
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-sni-exiu.c