diff options
author | Serge Semin <[email protected]> | 2020-05-15 13:47:42 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-15 18:29:17 +0100 |
commit | 0327f0b881dc5645c7ba670331e822cdaa8c5e09 (patch) | |
tree | cfd79617fa6391a399db20d1259e27dd2787e138 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 77810d484f4f28107391787dfa1c6c53d994c4fc (diff) |
spi: dw: Clear DMAC register when done or stopped
If DMAC register is left uncleared any further DMAless transfers
may cause the DMAC hardware handshaking interface getting activated.
So the next DMA-based Rx/Tx transaction will be started right
after the dma_async_issue_pending() method is invoked even if no
DMATDLR/DMARDLR conditions are met. This at the same time may cause
the Tx/Rx FIFO buffers underrun/overrun. In order to fix this we
must clear DMAC register after a current DMA-based transaction is
finished.
Co-developed-by: Georgy Vlasov <[email protected]>
Signed-off-by: Georgy Vlasov <[email protected]>
Signed-off-by: Serge Semin <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions