diff options
author | Andreas Dumberger <andreas.dumberger@tqs.de> | 2012-04-12 12:49:12 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-12 13:12:12 -0700 |
commit | bb58da08f01ee12561867fcd4385b82679ae7f6c (patch) | |
tree | 892e60c551aa5be4046fe20402c0cb9d2950a978 /arch/x86/ia32 | |
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 <andreas.dumberger@tqs.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
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 'arch/x86/ia32')
0 files changed, 0 insertions, 0 deletions