diff options
author | Aniroop Mathur <a.mathur@samsung.com> | 2016-12-27 13:22:42 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-12-27 13:36:50 -0800 |
commit | f63bb4f442d6c7929e58d671d1f46e122c441884 (patch) | |
tree | edf49e69fb0e9f97772b6e9de3b63fcc188bb0dc /ipc/compat.c | |
parent | 1a9027770f3d93b78f7031af79597f9659db5d70 (diff) |
Input: bma150 - switch to using usleep_range instead of msleep
msleep (1~20) may not do what the caller intends, and will often sleep
longer. (~20 ms actual sleep for any value given in the 1~20ms range) This
is not the desired behaviour for many cases like device resume time, device
suspend time, device enable time, etc. Thus, change msleep to usleep_range
for precise wakeups.
Signed-off-by: Aniroop Mathur <a.mathur@samsung.com>
Acked by: Albert Zhang <xu.zhang@bosch-sensortec.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'ipc/compat.c')
0 files changed, 0 insertions, 0 deletions