mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
Input: mms114 - replace mdelay with msleep
200 milliseconds is a very long time to keep the CPU busy looping. Use msleep instead. Signed-off-by: Andi Shyti <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
This commit is contained in:
parent
72b0c0cf97
commit
a22e88fd7d
1 changed files with 1 additions and 1 deletions
|
|
@ -349,7 +349,7 @@ static int mms114_start(struct mms114_data *data)
|
|||
return error;
|
||||
}
|
||||
|
||||
mdelay(MMS114_POWERON_DELAY);
|
||||
msleep(MMS114_POWERON_DELAY);
|
||||
|
||||
error = mms114_setup_regs(data);
|
||||
if (error < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue