summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorRudolf Marek2010-07-27 22:18:02 +0200
committerLinus Torvalds2010-07-27 23:32:06 +0200
commit2884fce165047db7df422e52a672970fa09c87b5 (patch)
tree9382e655a17b7be04178b0fa0d6978f88fd8ecb6 /drivers/gpio
parentdynamic debug: move ddebug_remove_module() down into free_module() (diff)
downloadkernel-qcow2-linux-2884fce165047db7df422e52a672970fa09c87b5.tar.gz
kernel-qcow2-linux-2884fce165047db7df422e52a672970fa09c87b5.tar.xz
kernel-qcow2-linux-2884fce165047db7df422e52a672970fa09c87b5.zip
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 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions