diff options
author | Bastien Curutchet <[email protected]> | 2024-08-28 08:31:31 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-08-28 13:38:02 +0100 |
commit | 2fe6102bf01a5f4f48f211c2e5c8a274342fccb1 (patch) | |
tree | e3ee95ef5653013ecf71750e89ae57088b3477bc /tools/perf/util/scripting-engines/trace-event-python.c | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions