diff options
author | Tyrone Ting <kfting@nuvoton.com> | 2024-12-19 17:08:56 +0800 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2025-01-07 23:46:09 +0100 |
commit | 4a34b9bf5f6f3f3ed910863fd1b4741a62864d4b (patch) | |
tree | 75463774f75a589c9bf649b0e1f16c6fc1361855 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 576eba03c99435380d155e5f71d5d7603b9178f6 (diff) |
i2c: npcm: Modify timeout evaluation mechanism
The users want to connect a lot of masters on the same bus.
This timeout is used to determine the time it takes to take bus ownership.
The transactions are very long, so waiting 35ms is not enough.
Increase the timeout and treat it as the total timeout, including retries.
The total timeout is 2 seconds now.
The i2c core layer will have chances to retry to call the i2c driver
transfer function if the i2c driver reports that the bus is busy and
returns -EAGAIN.
Signed-off-by: Tyrone Ting <kfting@nuvoton.com>
Reviewed-by: Tali Perry <tali.perry1@gmail.com>
Link: https://lore.kernel.org/r/20241219090859.18722-2-kfting@nuvoton.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions