Re: request_irq() usage in wm8350_register_irq().
From: Sebastian Andrzej Siewior
Date: Wed Jan 21 2026 - 08:25:28 EST
On 2026-01-21 13:12:36 [+0000], Mark Brown wrote:
> What was the question?
to quote myself:
I've been staring wm8350_register_irq(). It does
| request_threaded_irq(irq + wm8350->irq_base, NULL,
| handler, flags, name, data);
and every single user passes 0 as flags. This means it asks for a
threaded IRQ and does not pass IRQF_ONESHOT.
So either this is not working because it triggers the warnings
Threaded irq requested with handler=NULL and !ONESHOT
followed by -EINVAL _or_ every single user of this driver sits in
system where the irqchip is IRQCHIP_ONESHOT_SAFE marked.
Which is it?
Sebastian