mbox series

[v2,0/2] spi: Fix problem with interrupted slave transmission

Message ID 20190925091143.15468-1-lukma@denx.de (mailing list archive)
Headers show
Series spi: Fix problem with interrupted slave transmission | expand

Message

Lukasz Majewski Sept. 25, 2019, 9:11 a.m. UTC
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(+)