Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7765b5c2 authored by Alain Volmat's avatar Alain Volmat Committed by Greg Kroah-Hartman
Browse files

spi: stm32: make spurious and overrun interrupts visible

[ Upstream commit c64e7efe

 ]

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>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 507b9bce
Branches
Tags
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