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