diff options
| author | Peter Senna Tschudin <peter.senna@gmail.com> | 2015-10-12 23:22:37 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-16 23:46:27 -0700 |
| commit | 05ebc36e48fa53c9cf01271ed11a8415882699f3 (patch) | |
| tree | eb644a0294162ad9ef6e52acd0d7be81b4a23739 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | usb/host/fotg210: change kmalloc by kmalloc_array (diff) | |
| download | linux-05ebc36e48fa53c9cf01271ed11a8415882699f3.tar.gz linux-05ebc36e48fa53c9cf01271ed11a8415882699f3.zip | |
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 <peter.senna@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
