diff options
author | Bitan Biswas <[email protected]> | 2019-06-11 03:51:12 -0700 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2019-06-12 12:20:36 +0200 |
commit | fbbe4941f0dd36b5d39a4a1796aca8ce1f8efdf5 (patch) | |
tree | 38901cd061207e4bd70e9d796323a8e5e91b6d37 /tools/perf/scripts/python/futex-contention.py | |
parent | 9d174476ddc137d3b47b3336f32edaa0ad40e158 (diff) |
i2c: tegra: fix msleep warning
Fix checkpatch.pl WARNING for delay of approximately 1msec
in flush i2c FIFO polling loop by using usleep_range(1000, 2000):
WARNING: msleep < 20ms can sleep for up to 20ms; see ...
Documentation/timers/timers-howto.txt
+ msleep(1);
Signed-off-by: Bitan Biswas <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions