]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: return meaningful value for RTC_VL_READ
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:02:59 +0000 (23:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:45 +0000 (10:37 +0100)
commitabee1bcf84a482587015ee803f5414aa7121a0f7
tree969e59d8dbdb430925d044098ae78dc6ca6740f0
parent095f6cbb229ff0cfdf8f7840e8416dc2feb863fa
rtc: rx8010: return meaningful value for RTC_VL_READ

RX8010_FLAG_VLF means the voltage dropped too low and data has been lost.

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