rtc: rs5c348: report error when time is invalid
Instead of resetting the RTC to an bogus valid time, let userspace know
that the time is invalid when XSTP is set. Reset XSTP when setting the time
again.
Signed-off-by: NAlexandre Belloni <alexandre.belloni@bootlin.com>
Showing
想要评论请 注册 或 登录