drivers/rtc/rtc-r9701.c: reset registers if invalid values are detected