Files
linux-stable-mirror/include/linux
Sebastian Andrzej SiewiorandSasha Levin 322154c398 mfd: wm8350-core: Use IRQF_ONESHOT
[ Upstream commit 553b4999cb ]

Using a threaded interrupt without a dedicated primary handler mandates
the IRQF_ONESHOT flag to mask the interrupt source while the threaded
handler is active. Otherwise the interrupt can fire again before the
threaded handler had a chance to run.

Mark explained that this should not happen with this hardware since it
is a slow irqchip which is behind an I2C/ SPI bus but the IRQ-core will
refuse to accept such a handler.

Set IRQF_ONESHOT so the interrupt source is masked until the secondary
handler is done.

Fixes: 1c6c69525b ("genirq: Reject bogus threaded irq requests")
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260128095540.863589-16-bigeasy@linutronix.de
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:19:34 -05:00
..
2026-03-04 07:19:34 -05:00
2025-05-09 09:43:58 +02:00
2025-11-02 22:14:42 +09:00
2025-09-11 17:20:27 +02:00
2024-12-14 19:59:58 +01:00
2026-01-11 15:22:07 +01:00
2025-07-06 11:00:16 +02:00
2025-02-08 09:52:02 +01:00
2025-01-09 13:31:41 +01:00
2026-01-11 15:21:37 +01:00
2025-08-15 12:08:42 +02:00
2025-01-23 17:21:12 +01:00
2026-01-11 15:21:52 +01:00
2025-01-09 13:31:41 +01:00
2025-02-01 18:37:51 +01:00
2026-03-04 07:19:32 -05:00
2025-08-01 09:47:30 +01:00
2026-01-11 15:22:20 +01:00
2024-11-08 16:28:26 +01:00