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(+) -- 2.20.1