diff options
author | Alain Volmat <alain.volmat@foss.st.com> | 2021-02-05 21:59:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-02-05 22:17:01 +0300 |
commit | c64e7efe46b7de21937ef4b3594d9b1fc74f07df (patch) | |
tree | 82815c835b9b2e083bcd6ff1f34839a24ebc76ae /drivers/soundwire/bus.c | |
parent | e1e2093b16cb1cefe4dc483b00e73d1333260784 (diff) | |
download | linux-c64e7efe46b7de21937ef4b3594d9b1fc74f07df.tar.xz |
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: Alain 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: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/soundwire/bus.c')
0 files changed, 0 insertions, 0 deletions