diff options
author | Alexander Stein <[email protected]> | 2012-02-20 09:14:16 +0100 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2012-03-07 19:07:04 +0100 |
commit | 0836c80901565e8549e17cbad6933ab7e48ef6b2 (patch) | |
tree | adb5321eb058a3846c266fddd3be3bb790516571 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | c62c3ca55e0db52b311b1258ed08bc6c7525195e (diff) |
i2c-eg20t: Rework pch_i2c_wait_for_bus_idle to reduce wait time
If you insert several i2c transfers, the driver might start the next one
while the STOP bit of the previous transfer is still on the bus, marking
the bus as busy.
pch_i2c_wait_for_bus_idle does an msleep(20) delaying the next transfer
by >=20ms. Reduce wait time by actively waiting 5 us once, then using
usleep_range.
Signed-off-by: Alexander Stein <[email protected]>
Acked-by: Tomoya MORINAGA <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions