summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-cadence.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-06-13 10:41:15 +0200
committerMark Brown <broonie@kernel.org>2018-06-18 12:47:09 +0100
commit08ba7ae35b15cd13b965d5fd5a835e0a0cb803e6 (patch)
treec679e6acecbacc479de48ab5a238a7e89a3ce27e /drivers/spi/spi-cadence.c
parent16c10b3bf84df5564683c704039f6199b8359b16 (diff)
spi: sh-msiof: Make sure all DMA operations have completed
In case of a bi-directional transfer, receive DMA may complete in the rcar-dmac driver before transmit DMA, due to scheduling latencies. As the MSIOF driver waits for completion of the receive DMA only, it may submit the next transmit DMA request before the previous one has completed. Make the driver more robust by waiting for the completion of both receive and transmit DMA, when applicable. Based on a patch in the BSP by Ryo Kataoka. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-cadence.c')
0 files changed, 0 insertions, 0 deletions