[PATCH AUTOSEL for 4.15 043/189] spi: a3700: Clear DATA_OUT when performing a read

2018-04-08 Thread Sasha Levin
From: Maxime Chevallier [ Upstream commit 44a5f423e70374e5b42cecd85e78f2d79334e0f2 ] When performing a read using FIFO mode, the spi controller shifts out the last 2 bytes that were written in a previous transfer on MOSI. This undocumented behaviour can cause

[PATCH AUTOSEL for 4.15 043/189] spi: a3700: Clear DATA_OUT when performing a read

2018-04-08 Thread Sasha Levin
From: Maxime Chevallier [ Upstream commit 44a5f423e70374e5b42cecd85e78f2d79334e0f2 ] When performing a read using FIFO mode, the spi controller shifts out the last 2 bytes that were written in a previous transfer on MOSI. This undocumented behaviour can cause devices to misinterpret the