aboutsummaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-cadence.c
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2024-11-22 11:10:30 +0100
committerAlexandre Belloni <[email protected]>2024-11-25 23:34:12 +0100
commite0779a0dcf41a6452ac0a169cd96863feb5787c7 (patch)
treef81eb70de6dad13382a2babcfcb038933a70a29a /drivers/rtc/rtc-cadence.c
parent3ed345c948ef6ccd0f5dc85c5b6731593b4591f7 (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