diff options
author | Benjamin Bigler <[email protected]> | 2023-12-09 23:23:26 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-12-10 13:45:58 +0000 |
commit | e9b220aeacf109684cce36a94fc24ed37be92b05 (patch) | |
tree | 0c97189e1bb6ca61d63bc137f48f217fa9479bb5 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 7a733e060bd20edb63b1f27f0b29cf9b184e0e8b (diff) |
spi: spi-imx: correctly configure burst length when using dma
If DMA is used, burst length should be set to the bus width of the DMA.
Otherwise, the SPI hardware will transmit/receive one word per DMA
request.
Since this issue affects both transmission and reception, it cannot be
detected with a loopback test.
Replace magic numbers 512 and 0xfff with MX51_ECSPI_CTRL_MAX_BURST.
Reported-by Stefan Bigler <[email protected]>
Signed-off-by: Benjamin Bigler <[email protected]>
Fixes: 15a6af94a277 ("spi: Increase imx51 ecspi burst length based on transfer length")
Link: https://lore.kernel.org/r/[email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions