irqchip/aspeed-scu: Replace update_bits with write_bits.
authorBilly Tsai <billy_tsai@aspeedtech.com>
Wed, 24 Nov 2021 09:43:48 +0000 (17:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Dec 2021 09:57:22 +0000 (10:57 +0100)
commitf2675399eb2a0f5aa1493f6f5c83d38911cb99af
tree6daf0de4ea256a7acd44cb61cc119b82aecfd8fd
parente18f3e046ccd6fcae6d6c1c7f0d5c780bf105bb6
irqchip/aspeed-scu: Replace update_bits with write_bits.

commit 8958389681b929fcc7301e7dc5f0da12e4a256a0 upstream.

The interrupt status bits are cleared by writing 1, we should force a
write to clear the interrupt without checking if the value has changed.

Fixes: 04f605906ff0 ("irqchip: Add Aspeed SCU interrupt controller")
Signed-off-by: Billy Tsai <billy_tsai@aspeedtech.com>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211124094348.11621-1-billy_tsai@aspeedtech.com
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-aspeed-scu-ic.c