aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMasaharu Hayakawa <[email protected]>2017-11-03 10:36:28 +0100
committerUlf Hansson <[email protected]>2017-11-07 13:42:53 +0100
commit1f27ddf0b50b45eaf0f95565125cf10f9c821746 (patch)
tree460b1ce27843012f6f6f785da84f357ad967ba5d /tools/perf/util/trace-event-scripting.c
parent379777297cb130b8b23f82b34ea889c31e828a8c (diff)
mmc: tmio: Replace msleep() of 20ms or less with usleep_range()
As documented in Documentation/timers/timers-howto.txt as follows, replace msleep() with usleep_range(). msleep(1~20) may not do what the caller intends, and will often sleep longer (~20 ms actual sleep for any value given in the 1~20ms range). In many cases this is not the desired behavior. Signed-off-by: Masaharu Hayakawa <[email protected]> Signed-off-by: Simon Horman <[email protected]> Acked-by: Wolfram Sang <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions