]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: amlogic-a4: Remove IRQF_ONESHOT
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 28 Jan 2026 09:55:32 +0000 (10:55 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 28 Jan 2026 10:09:07 +0000 (11:09 +0100)
commit1932db202c9326747c6046959284992ab4124bac
tree928413c563bb72c96aed4a67eff3a42c97d2372e
parenta380a02ea3ddc69c1c1ccca3882748dee33ec3d3
rtc: amlogic-a4: Remove IRQF_ONESHOT

Passing IRQF_ONESHOT ensures that the interrupt source is masked until
the secondary (threaded) handler is done. If only a primary handler is
used then the flag makes no sense because the interrupt can not fire
(again) while its handler is running.
The flag also disallows force-threading of the primary handler and the
irq-core will warn about this.

Remove IRQF_ONESHOT from irqflags.

Fixes: c89ac9182ee29 ("rtc: support for the Amlogic on-chip RTC")
Reviewed-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://patch.msgid.link/20260128095540.863589-13-bigeasy@linutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-amlogic-a4.c