summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-01-10 15:10:41 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2012-01-10 16:30:52 -0800
commit012e52e15e7ebbc7b08165e8f4b10f71a3e6810b (patch)
tree83b34597c52f4bb13f9a7341321e5cc7cedf5680 /Documentation/ABI
parentb62581e6241c33b9fef45117f86830058738371f (diff)
downloadop-kernel-dev-012e52e15e7ebbc7b08165e8f4b10f71a3e6810b.zip
op-kernel-dev-012e52e15e7ebbc7b08165e8f4b10f71a3e6810b.tar.gz
drivers/rtc/rtc-ab8500.c: change msleep() to usleep_range()
The resolution of msleep is related to HZ, so with HZ set to 100 any msleep of less than 10ms will become ~10ms. This is not what we want. Use the hrtimer-based usleep_range() and allow for some slack in the non-critical path so we have more control of what is happening here. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Cc: Jonas Aaberg <jonas.aberg@stericsson.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud