Skip to content
Unverified Commit c64e7efe authored by Alain Volmat's avatar Alain Volmat Committed by Mark Brown
Browse files

spi: stm32: make spurious and overrun interrupts visible



We do not expect to receive spurious interrupts so rise a warning
if it happens.

RX overrun is an error condition that signals a corrupted RX
stream both in dma and in irq modes. Report the error and
abort the transfer in either cases.

Signed-off-by: default avatarAlain Volmat <alain.volmat@foss.st.com>
Link: https://lore.kernel.org/r/1612551572-495-9-git-send-email-alain.volmat@foss.st.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent e1e2093b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment