aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@linaro.org>2024-05-07 15:14:45 +0100
committerVinod Koul <vkoul@kernel.org>2024-06-12 16:47:28 +0530
commit27f3d3f6d87f650cc6b3ea08335dea749f1b04aa (patch)
tree99472f87761555c865f60a9f1c861802b576ad2a /tools/perf/util/scripting-engines/trace-event-python.c
parent2a0dc34bab8ede5fa50378ef206f580303eed8de (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 <andre.draszik@linaro.org> Reviewed-by: Peter Griffin <peter.griffin@linaro.org> Link: https://lore.kernel.org/r/20240507-samsung-usb-phy-fixes-v1-2-4ccba5afa7cc@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions