Skip to content
Commit 09832dc0 authored by Oliver.Rohe@wago.com's avatar Oliver.Rohe@wago.com Committed by Alexandre Belloni
Browse files

rtc: rs5c372: Fix reading from rtc when the oscillator got interrupted.



When the oscillator of the rtc gets interrupted,
e.g. due to an empty battery, reading from the rtc will now return an error
and the oscillator bit will be cleared, once the rtc is successfully reset.

Signed-off-by: default avatarOliver Rohe <oliver.rohe@wago.com>
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 7dd63ec0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment