]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit50fbff34596d381961904f9fd2286a357fa26348
tree16c4c4f16fe76ee192f40f2d87c9a0e6868d03ae
parent384d379616191cf9c80fdc5c52fa55fa2c58a3a0
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