Aniroop Mathur f63bb4f442 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>
2016-12-27 13:36:50 -08:00
..
2016-09-23 11:50:49 -07:00
2016-09-07 21:24:42 -07:00
2016-09-09 14:52:05 -07:00
2016-07-30 21:01:36 -07:00
2016-09-03 10:40:57 -07:00
2016-10-05 16:43:53 -03:00
2016-09-16 13:51:42 -07:00
2016-07-30 21:01:36 -07:00
2016-08-01 18:36:01 -04:00
2016-09-28 12:53:08 -07:00
2016-07-20 23:39:36 -07:00
2016-09-14 14:06:30 -07:00
2016-08-12 14:59:10 +05:30
2016-08-06 00:01:33 -04:00
2016-08-05 09:48:22 -04:00
2016-09-16 04:29:14 -04:00
2016-10-01 07:37:15 -07:00
2016-08-01 18:36:01 -04:00
2016-10-05 16:43:53 -03:00
2016-08-02 19:35:40 -04:00
2016-08-06 09:20:13 -04:00