summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTony Prisk <linux@prisktech.co.nz>2013-02-04 22:28:44 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-05 09:38:47 (GMT)
commit3bdf8cd3226fe11f26ce32bbb4c5e381cf807c89 (patch)
tree34345ec62eee5542e55f9f2070557eb2ce711fd6 /lib
parent1363b563a728097f34af9469452ec656995ca033 (diff)
downloadlinux-3bdf8cd3226fe11f26ce32bbb4c5e381cf807c89.tar.xz
drivers/rtc/rtc-vt8500.c: fix year field in vt8500_rtc_set_time()
The year field is incorrectly masked when setting the date. If the year is beyond 2099, the year field will be incorrectly updated in hardware. This patch masks the year field correctly. Signed-off-by: Edgar Toernig <froese@gmx.de> Signed-off-by: Tony Prisk <linux@prisktech.co.nz> 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 'lib')
0 files changed, 0 insertions, 0 deletions