mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-26 06:33:19 -04:00
staging: ft1000-usb: use usleep_range instead of msleep
This fixes the following checkpatch.pl warning: WARNING : msleep < 20ms can sleep for up to 20ms; see Documentation/timers/timers-howto.txt Signed-off-by: Catalina Mocanu <catalina.mocanu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ed9034f58e
commit
c0a7b1cbbf
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ static int ft1000_poll_thread(void *arg)
|
|||
int ret;
|
||||
|
||||
while (!kthread_should_stop()) {
|
||||
msleep(10);
|
||||
usleep_range(10000, 11000);
|
||||
if (!gPollingfailed) {
|
||||
ret = ft1000_poll(arg);
|
||||
if (ret != 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue