aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorPeter Senna Tschudin <[email protected]>2015-10-12 23:22:37 +0200
committerGreg Kroah-Hartman <[email protected]>2015-10-16 23:46:27 -0700
commit05ebc36e48fa53c9cf01271ed11a8415882699f3 (patch)
treeeb644a0294162ad9ef6e52acd0d7be81b4a23739 /tools/perf/scripts/python/bin
parent0d88002e2729e93d93631743d57e1f36763ce136 (diff)
usb/host/fotg210: replace msleep by usleep_range
msleep under 20ms can result in sleeping up to 20ms, which may not be intended. Replace msleep(5) by usleep_range(5000, 10000). The range of 5 ms is to reduce the chances of creating an interrupt while reducing the maximum wait time in 50%. Signed-off-by: Peter Senna Tschudin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions