diff options
author | Juergen Borleis <jbe@pengutronix.de> | 2016-02-09 11:57:26 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2016-03-14 17:08:17 +0100 |
commit | 6cc4c8b1e3790c63b2e1b6d9b25d2bda6e406572 (patch) | |
tree | acabf4ff6d12954bb5c4d741cef57d1fd3e83d7a /drivers/rtc/rtc-lp8788.c | |
parent | 7b5768486a910532885f01b9d2dad4818c8b3be1 (diff) | |
download | linux-6cc4c8b1e3790c63b2e1b6d9b25d2bda6e406572.tar.bz2 |
rtc: pcf85063: fix time/date reading
Check if the RTC signals an invalid time/date (due to a battery power loss
for example). In this case ignore the time/date until it is really set again.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-lp8788.c')
0 files changed, 0 insertions, 0 deletions