]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerAndrea Righi <andrea.righi@canonical.com>
Tue, 4 Jan 2022 08:49:20 +0000 (09:49 +0100)
commitd7b9e031a9fc1d5d465f067183470eb58c3510e2
tree0824be7a5d2d03122e3e493a0bfa7a7c382fed58
parent201ab28edd1d29b0f8a0eaf300bb6e31554327c7
irqchip/aspeed-scu: Replace update_bits with write_bits.

BugLink: https://bugs.launchpad.net/bugs/1954931
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/irqchip/irq-aspeed-scu-ic.c