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-17 08:46:27 +0200 |
commit | 05ebc36e48fa53c9cf01271ed11a8415882699f3 (patch) | |
tree | eb644a0294162ad9ef6e52acd0d7be81b4a23739 /Documentation/scsi/00-INDEX | |
parent | usb/host/fotg210: change kmalloc by kmalloc_array (diff) | |
download | linux-05ebc36e48fa53c9cf01271ed11a8415882699f3.tar.xz 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 'Documentation/scsi/00-INDEX')
0 files changed, 0 insertions, 0 deletions