]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: rockchip: Use plain request_irq()
authorMark Brown <broonie@kernel.org>
Fri, 16 Jan 2026 13:23:40 +0000 (13:23 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jan 2026 16:29:08 +0000 (16:29 +0000)
commit83ba6efa711fad83a0fbf02178ad64d3906d8d09
treefc7936df84ba3140c125a4f41f1aaba08807c043
parent0f93dddb038ee1688d1a03f68d476902053dfa1b
spi: rockchip: Use plain request_irq()

The Rockchip driver has since interrupt support was added used
request_threaded_irq() but not actually supplied a threaded handler,
handling everything in the primary handler.  This is equivalent to just
using a plain request_irq(), and since aef30c8d569c (genirq: Warn about
using IRQF_ONESHOT without a threaded handler) the current behaviour has
triggered a WARN_ON().  Convert to use request_irq().

Reported-by: Aishwarya TCV <Aishwarya.TCV@arm.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://patch.msgid.link/20260116-spi-rockchip-threaded-irq-v1-1-c45c3a5a38b1@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c