aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVignesh R <[email protected]>2019-01-15 12:28:32 +0530
committerMark Brown <[email protected]>2019-01-15 13:17:04 +0000
commitbaf8b9f8d260c55a86405f70a384c29cda888476 (patch)
treec24ed26f0305ea7aa105c028ea1313d7ffa65c92 /tools/perf/scripts/python/export-to-sqlite.py
parentaa54c1c9d90e6db75190813907190fadcce1bf45 (diff)
spi: omap2-mcspi: Fix DMA and FIFO event trigger size mismatch
Commit b682cffa3ac6 ("spi: omap2-mcspi: Set FIFO DMA trigger level to word length") broke SPI transfers where bits_per_word != 8. This is because of mimsatch between McSPI FIFO level event trigger size (SPI word length) and DMA request size(word length * maxburst). This leads to data corruption, lockup and errors like: spi1.0: EOW timed out Fix this by setting DMA maxburst size to 1 so that McSPI FIFO level event trigger size matches DMA request size. Fixes: b682cffa3ac6 ("spi: omap2-mcspi: Set FIFO DMA trigger level to word length") Cc: [email protected] Reported-by: David Lechner <[email protected]> Tested-by: David Lechner <[email protected]> Signed-off-by: Vignesh 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