]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
spi: stm32: Don't warn about spurious interrupts
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 21 May 2024 10:52:42 +0000 (12:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Jun 2024 11:39:51 +0000 (13:39 +0200)
commite5ed2cd0550f8395d027d24d2b796f8a4e5d3a51
tree0249309ba7b1aed40c8c50e5379437d059e2f230
parentcbd383ebbabe677a998b198726fc57eab68e3f43
spi: stm32: Don't warn about spurious interrupts

[ Upstream commit 95d7c452a26564ef0c427f2806761b857106d8c4 ]

The dev_warn to notify about a spurious interrupt was introduced with
the reasoning that these are unexpected. However spurious interrupts
tend to trigger continously and the error message on the serial console
prevents that the core's detection of spurious interrupts kicks in
(which disables the irq) and just floods the console.

Fixes: c64e7efe46b7 ("spi: stm32: make spurious and overrun interrupts visible")
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://msgid.link/r/20240521105241.62400-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/spi/spi-stm32.c