irqchip/armada-370-xp: Use atomic_io_modify() instead of another spinlock
authorMarek Behún <kabel@kernel.org>
Thu, 20 Jun 2024 09:52:33 +0000 (11:52 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 23 Jun 2024 15:23:08 +0000 (17:23 +0200)
commit50c43447f71c6d0eb9e320c4cc69822d396e52bc
treed68e7cd65b98236c4cd20d6c8a2af4e5fe17ec59
parentb1c387506d2738b655f0806d3ee3e6fc94ecb910
irqchip/armada-370-xp: Use atomic_io_modify() instead of another spinlock

Use the dedicated atomic_io_modify() instead of a open coded spin_lock() +
readl() + writel() + spin_unlock() sequence.

This allows to drop the irq_controller_lock spinlock from the driver.

Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
drivers/irqchip/irq-armada-370-xp.c