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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment