]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: spacemit: drop IRQF_ONESHOT flag from IRQ request
authorYixun Lan <dlan@kernel.org>
Wed, 21 Jan 2026 23:52:00 +0000 (07:52 +0800)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 22 Jan 2026 13:07:58 +0000 (14:07 +0100)
commite351836a54e3b0b4483f896abcd6a0dc71097693
tree540439bc52f315d39657d54778b3ec88e5a7f1cf
parentccd1cdca5cd433c8a5dff78b69a79b31d9b77ee1
i2c: spacemit: drop IRQF_ONESHOT flag from IRQ request

In commit aef30c8d569c ("genirq: Warn about using IRQF_ONESHOT without a
threaded handler")[1], it will check IRQF_ONESHOT flag in IRQ request,
and gives a warning if there is no threaded handler. Drop this flag to
fix this warning.

Link: https://lore.kernel.org/r/20260112134013.eQWyReHR@linutronix.de/
Fixes: 5ea558473fa3 ("i2c: spacemit: add support for SpacemiT K1 SoC")
Signed-off-by: Yixun Lan <dlan@kernel.org>
Cc: <stable@vger.kernel.org> # v6.15+
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Troy Mitchell <troy.mitchell@linux.spacemit.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260122-05-k1-i2c-irq-v1-1-9b8d94bbcd22@kernel.org
drivers/i2c/busses/i2c-k1.c