Skip to content

Commit 943b052

Browse files
Sebastian Andrzej SiewiorThomas Gleixner
authored andcommitted
genirq: Set IRQF_COND_ONESHOT in devm_request_irq().
The flag IRQF_COND_ONESHOT was already force-added to request_irq() because the ACPI SCI interrupt handler is using the IRQF_ONESHOT flag which breaks all shared handlers. devm_request_irq() needs the same change since some users, such as int0002_vgpio, are using this function instead. Add IRQF_COND_ONESHOT to the flags passed to devm_request_irq(). Fixes: c37927a ("genirq: Set IRQF_COND_ONESHOT in request_irq()") Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20260128095540.863589-2-bigeasy@linutronix.de
1 parent 24d479d commit 943b052

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/interrupt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ static inline int __must_check
228228
devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler,
229229
unsigned long irqflags, const char *devname, void *dev_id)
230230
{
231-
return devm_request_threaded_irq(dev, irq, handler, NULL, irqflags,
231+
return devm_request_threaded_irq(dev, irq, handler, NULL, irqflags | IRQF_COND_ONESHOT,
232232
devname, dev_id);
233233
}
234234

0 commit comments

Comments
 (0)