diff options
author | Bastien Curutchet <bastien.curutchet@bootlin.com> | 2024-08-28 08:31:31 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-08-28 13:38:02 +0100 |
commit | 2fe6102bf01a5f4f48f211c2e5c8a274342fccb1 (patch) | |
tree | e3ee95ef5653013ecf71750e89ae57088b3477bc /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 91232b00b1a5d2486770c72c51a752a77c7601b2 (diff) |
spi: davinci: Adapt transfer's timeout to transfer's length
The timeout used when waiting for transfer's completion is always set to
HZ. This isn't enough if a transfer is too large or if the bus speed is
too low.
Use the bus speed and the transfer length to calculate an appropriate
timeout
Signed-off-by: Bastien Curutchet <bastien.curutchet@bootlin.com>
Link: https://patch.msgid.link/20240828063131.10507-1-bastien.curutchet@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions