diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-03-26 19:04:36 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-01 10:19:43 +0200 |
| commit | f40b1401b6ad0f4dadfca4e7a69744352a2e4f8f (patch) | |
| tree | 268e4e3d8adbe8e05085c9101b8b884d8927f37d /tools/perf/scripts/python | |
| parent | 8c0ef7b56d6bbbc53f2d43d99c195144f01b0775 (diff) | |
lis3lv02d: Omit IRQF_ONESHOT if no threaded handler is provided
The lis3lv02d started triggering a WARN in the IRQ code because it
passes IRQF_ONESHOT to request_threaded_irq() even when thread_fn is
NULL, which is an invalid combination.
So set the flag only if thread_fn is non-NULL.
Cc: Eric Piel <eric.piel@tremplin-utc.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://patch.msgid.link/20260326180436.14968-2-ardb@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
