Skip to content
Commit 1654a2b0 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

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: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 2d7be4ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment