diff options
author | André Draszik <[email protected]> | 2024-05-07 15:14:45 +0100 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-06-12 16:47:28 +0530 |
commit | 27f3d3f6d87f650cc6b3ea08335dea749f1b04aa (patch) | |
tree | 99472f87761555c865f60a9f1c861802b576ad2a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 2a0dc34bab8ede5fa50378ef206f580303eed8de (diff) |
phy: exynos5-usbdrd: convert udelay() to fsleep()
The timers-howto recommends using usleep_range() and friends anytime
waiting for >= ~10us is required. Doing so can help the timer subsystem
a lot to coalesce wakeups.
Additionally, fsleep() exists as a convenient wrapper so we do not have
to think about which exact sleeping function is required in which case.
Convert all udelay() calls in this driver to use fsleep() to follow the
recommendataion.
Signed-off-by: André Draszik <[email protected]>
Reviewed-by: Peter Griffin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions