Commit a22e88fd authored by Andi Shyti's avatar Andi Shyti Committed by Dmitry Torokhov

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: default avatarAndi Shyti <andi.shyti@samsung.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 72b0c0cf
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment