]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerMarc Zyngier <maz@kernel.org>
Thu, 25 Nov 2021 16:50:44 +0000 (16:50 +0000)
commitb1702c5c90915e093c9456741287e05709cbdd0e
treeb4a6f589fba9d663adee08cf4781663cfbf62127
parentdcd738921404c5811033e6a778d18b502741a170
irqchip/aspeed-scu: Replace update_bits with write_bits.

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: 002c111e43bd ("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
drivers/irqchip/irq-aspeed-scu-ic.c