rtc: rx8025: reset validity when setting time
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 4 Aug 2015 08:48:20 +0000 (10:48 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sat, 5 Sep 2015 11:19:12 +0000 (13:19 +0200)
commit8c4a4467cda299491eff64640c891a0b2926cb76
tree8411f90b3420f6ef6578ea1c051aa6cfe3edf3fa
parenta27c7bf657cb4ab893328359b66a584251be6cac
rtc: rx8025: reset validity when setting time

Wait for the user to set the time to reset the validity bits. Until then,
the time may be invalid.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rx8025.c