Commit 50c4344
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>1 parent b1c3875 commit 50c4344
1 file changed
Lines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
461 | 461 | | |
462 | 462 | | |
463 | 463 | | |
464 | | - | |
465 | | - | |
466 | 464 | | |
467 | 465 | | |
468 | 466 | | |
469 | 467 | | |
470 | | - | |
471 | 468 | | |
472 | 469 | | |
473 | 470 | | |
474 | 471 | | |
475 | | - | |
476 | 472 | | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
482 | 476 | | |
483 | 477 | | |
484 | 478 | | |
| |||
0 commit comments