Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit 95d7c45

Browse files
Uwe Kleine-Königbroonie
authored andcommitted
spi: stm32: Don't warn about spurious interrupts
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: c64e7ef ("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>
1 parent 9dedabe commit 95d7c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-stm32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1057,7 +1057,7 @@ static irqreturn_t stm32h7_spi_irq_thread(int irq, void *dev_id)
10571057
mask |= STM32H7_SPI_SR_TXP | STM32H7_SPI_SR_RXP;
10581058

10591059
if (!(sr & mask)) {
1060-
dev_warn(spi->dev, "spurious IT (sr=0x%08x, ier=0x%08x)\n",
1060+
dev_vdbg(spi->dev, "spurious IT (sr=0x%08x, ier=0x%08x)\n",
10611061
sr, ier);
10621062
spin_unlock_irqrestore(&spi->lock, flags);
10631063
return IRQ_NONE;

0 commit comments

Comments
 (0)