Searched hist:"6 f367788d6333a41fefd013975b0b160d5c0a1c8" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/rtc/ |
H A D | rtc-rv8803.c | diff 6f367788d6333a41fefd013975b0b160d5c0a1c8 Thu Jul 21 12:41:32 CEST 2016 Benoît Thébaudeau <benoit@wsystem.com> rtc: rv8803: Clear V1F when setting the time
V1F indicates that the time accuracy may have been compromised because of a voltage drop (possibly only temporary) below VLOW1, which stops the temperature compensation. When the time is set, the accuracy is restored, so V1F should be cleared in order to indicate this and to be able to detect the next temperature compensation loss. This is the same principle as for V2F, which is cleared when the time is set to indicate that the time is no longer invalid and to be able to detect the next data loss.
Signed-off-by: Benoît Thébaudeau <benoit@wsystem.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
|