diff options
author | Fabien Lahoudere <fabien.lahoudere@collabora.co.uk> | 2017-07-05 10:02:29 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-07-31 00:17:39 +0200 |
commit | 16486d0c1c659d4ab502c5bea408654287edcb74 (patch) | |
tree | cdc8c4b417cd5554a52ba90a92dd63b532d41297 /drivers/rtc/rtc-pcf8563.c | |
parent | 5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff) |
rtc: s35390a: handle invalid RTC time
If RTC time have been altered by low voltage, we notify users
that RTC time is invalid by returning -EINVAL.
The RTC time needs to be set correctly to clear the invalid flag.
Signed-off-by: Fabien Lahoudere <fabien.lahoudere@collabora.co.uk>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-pcf8563.c')
0 files changed, 0 insertions, 0 deletions