diff options
author | Rudolf Marek <rudolf.marek@sysgo.com> | 2010-07-27 16:18:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-07-27 17:32:06 -0400 |
commit | 2884fce165047db7df422e52a672970fa09c87b5 (patch) | |
tree | 9382e655a17b7be04178b0fa0d6978f88fd8ecb6 /CREDITS | |
parent | b82bab4bbe9efa7bc7177fc20620fff19bd95484 (diff) |
drivers/rtc/rtc-rx8581.c: fix setdatetime
Fix the logic while writing new date/time to the chip. The driver
incorrectly wrote back register values to different registers and even
with wrong mask. The patch adds clearing of the VLF register, which
should be cleared if all date/time values are set.
Signed-off-by: Rudolf Marek <rudolf.marek@sysgo.com>
Acked-by: Wan ZongShun <mcuos.com@gmail.com>
Cc: Martyn Welch <martyn.welch@gefanuc.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions