[rtc-linux] Re: [PATCH v2 1/2] RTC: s35390a: handle invalid RTC time

2017-07-30 Thread Alexandre Belloni
On 05/07/2017 at 10:02:29 +0200, Fabien Lahoudere wrote: > 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. > If the RTC is not set before restarting, the information

[rtc-linux] Re: [PATCH v2 2/2] RTC: s35390a: implement ioctls

2017-07-30 Thread Alexandre Belloni
On 05/07/2017 at 10:02:30 +0200, Fabien Lahoudere wrote: > Implements RTC_VL_READ and RTC_VL_CLR ioctls. > > Signed-off-by: Fabien Lahoudere > --- > drivers/rtc/rtc-s35390a.c | 32 +++- > 1 file changed, 31 insertions(+), 1