Commit 9a0bd070fd3582aed024a2f13a30b1de307db1e2
Committed by
Anton Vorontsov
1 parent
b269fff4f9
Exists in
master
and in
20 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/power/ab8500_fg.c