summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-fsl-lpspi.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2023-05-18 12:39:26 +0300
committerMark Brown <broonie@kernel.org>2023-05-22 13:41:05 +0300
commit6afe2ae8dc48e643cb9f52e86494b96942440bc6 (patch)
tree0eb806598d3536d641999416c943dbab52d564ce /drivers/spi/spi-fsl-lpspi.c
parent445164e8c136f1445caf735d6d268c948e71caf1 (diff)
downloadlinux-6afe2ae8dc48e643cb9f52e86494b96942440bc6.tar.xz
spi: spi-cadence: Interleave write of TX and read of RX FIFO
When working in slave mode it seems the timing is exceedingly tight. The TX FIFO can never empty, because the master is driving the clock so zeros would be sent for those bytes where the FIFO is empty. Return to interleaving the writing of the TX FIFO and the reading of the RX FIFO to try to ensure the data is available when required. Fixes: a84c11e16dc2 ("spi: spi-cadence: Avoid read of RX FIFO before its ready") Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20230518093927.711358-1-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-fsl-lpspi.c')
0 files changed, 0 insertions, 0 deletions