commit | 9a0bd070fd3582aed024a2f13a30b1de307db1e2 | [log] [tgz] |
---|---|---|
author | Jonas Aaberg <jonas.aberg@stericsson.com> | Tue Jan 15 14:09:13 2013 +0000 |
committer | Anton Vorontsov <anton@enomsg.org> | Tue Jan 15 17:35:19 2013 -0800 |
tree | b7c4ca1f2aaf47d8249c78e5faa2b831787f64bb | |
parent | b269fff4f9ad2cec9413ea9e10f26c5d8c9f5ddc [diff] |
ab8500_fg: Replace msleep() with usleep_range() for greater accuracy Doing so provides a greater degree of accuracy when dealing with time-frames between 1us and 20ms. msleep() is only accurate for wake-ups greater than 20ms. Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jonas ABERG <jonas.aberg@stericsson.com> Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com> Signed-off-by: Anton Vorontsov <anton@enomsg.org>