irqchip/loongson-pch-pic: Fix the misused irq flow handler
authorHuacai Chen <chenhc@lemote.com>
Thu, 30 Jul 2020 08:51:30 +0000 (16:51 +0800)
committerMarc Zyngier <maz@kernel.org>
Thu, 30 Jul 2020 11:58:17 +0000 (12:58 +0100)
commit66715a33ca4eba297cbcd0b4d8ea112ad8e45033
tree1dbfbcb8745b1113baa7084a18c9d11b21244602
parent4186d28add9669688f713070e2bd2a1ce0986229
irqchip/loongson-pch-pic: Fix the misused irq flow handler

Loongson PCH PIC is a standard level triggered PIC, and it need to clear
interrupt during unmask.

Fixes: 478119d9579e1c4bbb52ebcc3 ("irqchip: Add Loongson PCH PIC controller")
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Link: https://lore.kernel.org/r/1596099090-23516-6-git-send-email-chenhc@lemote.com
drivers/irqchip/irq-loongson-pch-pic.c