]> 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)
commitb1a865447b8dfed5012b5fb7114583f9cad97062
treef23940f37f66f766e17e43ab5a40cd8214b0a8e1
parentdfbbceeb56a5855712ad6a7e4ec009198ba98dc6
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