diff options
author | Andrea Scian <andrea.scian@dave.eu> | 2015-06-16 09:39:47 (GMT) |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-09-05 11:19:06 (GMT) |
commit | 653ebd75e9e469e99a40ab14128d915386dc78c6 (patch) | |
tree | 1afde5a872c74e71f4e06fcdcb895757661bba88 /drivers/md/multipath.c | |
parent | 821f51c4da869706356ddecfeeac286bf4df9b98 (diff) | |
download | linux-653ebd75e9e469e99a40ab14128d915386dc78c6.tar.xz |
rtc: pcf2127: use OFS flag to detect unreliable date and warn the user
The PCF2127 datasheet states that it's wrong to say that the date in
unreliable if BLF (battery low flag) is set but instead, OSF (seconds
register) should be used to check if oscillator, for any reason, stopped.
Battery may be low (usually below 2V5 threshold) but the date may be anyway
correct (typically date is unreliable when input voltage is below 1V2).
Signed-off-by: Andrea Scian <andrea.scian@dave.eu>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/md/multipath.c')
0 files changed, 0 insertions, 0 deletions