diff options
author | Maxime Chevallier <[email protected]> | 2024-11-22 11:10:30 +0100 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2024-11-25 23:34:12 +0100 |
commit | e0779a0dcf41a6452ac0a169cd96863feb5787c7 (patch) | |
tree | f81eb70de6dad13382a2babcfcb038933a70a29a /drivers/rtc/rtc-cadence.c | |
parent | 3ed345c948ef6ccd0f5dc85c5b6731593b4591f7 (diff) |
rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
The undervoltage flags reported by the RTC are useful to know if the
time and date are reliable after a reboot. Although the threshold VLOW1
indicates that the thermometer has been shutdown and time compensation
is off, it doesn't mean that the temperature readout is currently
impossible.
As the system is running, the RTC voltage is now fully established and
we can read the temperature.
Fixes: 67075b63cce2 ("rtc: add AB-RTCMC-32.768kHz-EOZ9 RTC support")
Signed-off-by: Maxime Chevallier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'drivers/rtc/rtc-cadence.c')
0 files changed, 0 insertions, 0 deletions