irqchip/csky-mpintc: Fixup mask/unmask implementation
authorGuo Ren <guoren@linux.alibaba.com>
Mon, 1 Nov 2021 13:45:34 +0000 (21:45 +0800)
committerMarc Zyngier <maz@kernel.org>
Fri, 12 Nov 2021 16:09:50 +0000 (16:09 +0000)
commit1cbb418b69ed28f3395c6208931843a53d3fbcbe
tree16c4c4f16fe76ee192f40f2d87c9a0e6868d03ae
parentdebe436e77c72fcee804fb867f275e6d31aa999c
irqchip/csky-mpintc: Fixup mask/unmask implementation

The mask/unmask must be implemented, and enable/disable supplement
them if the HW requires something different at startup time. When
irq source is disabled by mask, mpintc could complete irq normally.

So drop enable/disable if favour of mask/unmask.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211101134534.3804542-1-guoren@kernel.org
drivers/irqchip/irq-csky-mpintc.c