mxs/spi: Restart the block after unsuccessful transfer
Subsystems (2)
PATCH 1/1 mxs/spi: Restart the block after unsuccessful transfer
Restart the SSP block in case the SSP transfer failed in any way. The block hung in some cases otherwise.
Signed-off-by Marek Vasut <[email protected]>
Cc Chris Ball <[email protected]>
Cc Shawn Guo <[email protected]>
Cc Mark Brown <[email protected]>
Cc Fabio Estevam <[email protected]>
--- drivers/spi/spi-mxs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
drivers/spi/spi-mxs.c +3 -1
@@ -445,8 +445,10 @@ static int mxs_spi_transfer_one(struct spi_master *master, } m->actual_length += t->len; -if (status) +if (status) { +stmp_reset_block (ssp->base);break ; + } first = last =0 ; }
Signature · 1 line
1.7.10.4
Mark Brown
AppliedPATCH 1/1 mxs/spi: Restart the block after unsuccessful transfer
Quoted 2 lines · Marek Vasut
Restart the SSP block in case the SSP transfer failed in any way. The block hung in some cases otherwise.
Applied, thanks.