diff options
| author | Aniroop Mathur <[email protected]> | 2016-12-18 23:27:16 +0000 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2016-12-18 23:55:57 +0000 |
| commit | 67626c9323027534496d21cf32793121662d03c0 (patch) | |
| tree | 7442a44ff9d4912fcf7e33bd2457a87f1defe7a5 /lib/timerqueue.c | |
| parent | Input: i8042 - add Pegatron touchpad to noloop table (diff) | |
| download | kernel-67626c9323027534496d21cf32793121662d03c0.tar.gz kernel-67626c9323027534496d21cf32793121662d03c0.zip | |
Input: synaptics_i2c - change msleep to usleep_range for small msecs
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, retry logic, etc.
Thus, change msleep to usleep_range for precise wakeups.
Signed-off-by: Aniroop Mathur <[email protected]>
Acked-by: Igor Grinberg <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
