diff options
author | Andreas Dumberger <[email protected]> | 2012-04-12 12:49:12 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2012-04-12 13:12:12 -0700 |
commit | bb58da08f01ee12561867fcd4385b82679ae7f6c (patch) | |
tree | 892e60c551aa5be4046fe20402c0cb9d2950a978 /net/lapb/lapb_timer.c | |
parent | 44e4360fa3384850d65dd36fb4e6e5f2f112709b (diff) |
drivers/rtc/rtc-r9701.c: reset registers if invalid values are detected
hwclock refuses to set date/time if RTC registers contain invalid
values. Check the date/time register values at probe time and
initialize them to make hwclock happy.
Signed-off-by: Andreas Dumberger <[email protected]>
Signed-off-by: Anatolij Gustschin <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions