summaryrefslogtreecommitdiff
path: root/drivers/rtc/interface.c
diff options
context:
space:
mode:
authorFabien Lahoudere <fabien.lahoudere@collabora.co.uk>2017-07-05 10:02:29 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-07-31 00:17:39 +0200
commit16486d0c1c659d4ab502c5bea408654287edcb74 (patch)
treecdc8c4b417cd5554a52ba90a92dd63b532d41297 /drivers/rtc/interface.c
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (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/interface.c')
0 files changed, 0 insertions, 0 deletions