aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorPratyush Yadav <[email protected]>2020-12-23 00:14:24 +0530
committerMark Brown <[email protected]>2021-01-06 13:08:46 +0000
commit0920a32cf6f20467aa133a47b776ee782daa889f (patch)
tree4dae219710f8164b23744a0639b086da15f4b1ff /tools/perf/scripts/python/export-to-sqlite.py
parenta273596b9b50c76a9cc1f65d3eb7f8ab5c3eb3e3 (diff)
spi: cadence-quadspi: Wait at least 500 ms for direct reads
When performing a direct read via DMA the timeout for completion is set equal to the read length. This is fine for larger reads. For a small read like the Read Status Register command, the timeout would be 1 or 2 milliseconds. This is not enough to cover the overhead needed in setting up DMA. Make sure the timeout is at least 500 ms to allow DMA ample time to finish. For reads larger than 500 bytes, the timeout will continue to be equal to the read length. Signed-off-by: Pratyush Yadav <[email protected]> Reported-by: kernel test robot <[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