]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: pcf8523: avoid reading BLF in pcf8523_rtc_read_time
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 Oct 2021 19:24:00 +0000 (21:24 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:21:05 +0000 (17:21 +0200)
commit3eff9c5a1cd9cf32a8512393653bdec90b129bb5
treef23940f37f66f766e17e43ab5a40cd8214b0a8e1
parent86d417f3c921bc29dad2c196593139ae87c75e9a
rtc: pcf8523: avoid reading BLF in pcf8523_rtc_read_time

BLF, battery low doesn't mean the time is imprecise or invalid, it simply mean
the backup battery has to be replaced. This information can be read using the
VL_READ ioctl.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211015192400.818254-1-alexandre.belloni@bootlin.com
drivers/rtc/rtc-pcf8523.c