diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-12-14 23:02:50 +0100 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-12-18 10:37:30 +0100 |
commit | 935272aade5ac17f6e6139968799421233c92c33 (patch) | |
tree | 200a2ccc9ebfc88e98dfa5c4f01b04db3e755dad /drivers/rtc/proc.c | |
parent | 75d26f5c2388f0fbedceeec98a3dc95cb26ec1c8 (diff) |
rtc: pcf8563: stop caching voltage_low
voltage_low is only updated when reading the time, this means that using
RTC_VL_READ will miss the VL flag if the time has not been read before
using the ioctl. Always read the status from the hardware.
Link: https://lore.kernel.org/r/20191214220259.621996-9-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/proc.c')
0 files changed, 0 insertions, 0 deletions