aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2022-01-31 22:19:34 +0100
committerGuenter Roeck <[email protected]>2022-02-27 17:03:17 -0800
commit799c3e1e5348effda4312764bb484a084d561949 (patch)
tree66f27206f67e4cfe7c7ac86c2bfbb2b58b94f006 /tools/perf/scripts/python/bin
parent393935baa45e5ccb9603cf7f9f020ed1bc0915f7 (diff)
hwmon: (sch56xx-common) Replace msleep() with usleep_range()
msleep(1) will often sleep more than 20ms, slowing down sensor and watchdog reads/writes. Use usleep_range() as recommended in timers-howto.rst to fix that. Tested on a Fujitsu Esprimo P720. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions