]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: s5m: use shorter time of register update
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 22 May 2014 00:54:29 +0000 (10:54 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 30 May 2014 06:58:37 +0000 (16:58 +1000)
commit23e2223d03eace3da72b6b8e9b6c8fb16aa7b5de
tree2bc41e6fcf61ff190168c723ed5adae72a9042ba
parent2bb423e1ca70cc928ece1200331a85e202161e5f
rtc: s5m: use shorter time of register update

Set the time needed for updating alarm and time registers to 0.45 ms.
The default is 7.32 ms which is too long and leads to warnings when
setting alarm or time:

s5m-rtc: waiting for UDR update, reached max number of retries

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Cc: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Sangbeom Kim <sbkim73@samsung.com>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-s5m.c
include/linux/mfd/samsung/rtc.h