Skip to content

spi: Fix problem with interrupted slave transmission

Lukasz Majewski linux-spi lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2spi: Add call to spi_slave_abort() function when spidev driver is releaseddrivers/spi/spidev.c+3 -03 replies
2/2spi: Introduce dspi_slave_abort() function for NXP's dspi SPI driverdrivers/spi/spi-fsl-dspi.c+20 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] spi: Fix problem with interrupted slave transmission

This patch series fixes problem with recovering Vybrid's NXP DSPI controller state after master transmission distortion.

It was tested with a setup where /dev/spidevX.Y devices were used in a loopback mode (provided by proper HW connections). During this test the distortion was introduced and the system was assessed if it is possible to continue correct SPI transmission.

This series applies clearly on v5.2 (tag) and current mainline:
SHA1: 351c8a09b00b5c51c8f58b016fffe51f87e2d820

Lukasz Majewski (2):
spi: Add call to spi_slave_abort() function when spidev driver is
released
spi: Introduce dspi_slave_abort() function for NXP's dspi SPI driver

 drivers/spi/spi-fsl-dspi.c | 20 ++++++++++++++++++++
 drivers/spi/spidev.c       |  3 +++
 2 files changed, 23 insertions(+)
Signature · 1 line
2.20.1