diff options
author | Tony Prisk <[email protected]> | 2013-02-04 14:28:44 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-02-05 20:38:47 +1100 |
commit | 3bdf8cd3226fe11f26ce32bbb4c5e381cf807c89 (patch) | |
tree | 34345ec62eee5542e55f9f2070557eb2ce711fd6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1363b563a728097f34af9469452ec656995ca033 (diff) |
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 <[email protected]>
Signed-off-by: Tony Prisk <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions