Re: [PATCH v2] rtc: rs5c372: Fix reading from rtc when the oscillator got interrupted.

From: Alexandre Belloni
Date: Sun Feb 10 2019 - 15:58:01 EST


On 08/02/2019 13:20:44+0000, Oliver.Rohe@xxxxxxxx wrote:
> 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: Oliver Rohe <oliver.rohe@xxxxxxxx>
> ---
> drivers/rtc/rtc-rs5c372.c | 54 +++++++++++++++++++++++++++++++++++++++++------
> 1 file changed, 47 insertions(+), 7 deletions(-)
>
Applied, thanks.

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com