]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc/ab8500: change to mdelay
authorJonas Aaberg <jonas.aberg@stericsson.com>
Wed, 30 Nov 2011 04:11:46 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:58 +0000 (15:13 +1100)
commitcb57ad947f1da7a90a94330f1d3b2493eb252577
tree89f38ef9e173cec1fc769694f01ae6e6a8fdf06c
parent493ab267b6c4b0c87b3a1d965664d6fda6587679
rtc/ab8500: change to mdelay

The resolution of msleep is related to HZ, so with HZ set to 100 any
msleep of less than 10ms will become ~10ms.  This does not work for us, so
stick to mdelay(1).

Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-ab8500.c