OSDN Git Service

rtc: abx80x: return meaningful value for RTC_VL_READ
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:02:45 +0000 (23:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:21 +0000 (10:37 +0100)
commit9f05342a9720a37096cbbead70909430c2e56358
tree4daffc0fdc42a5abcf0ffa44ab805883eff67a99
parent790a19f18a70bf1e30b6b4d00559e1bb8a3f7e23
rtc: abx80x: return meaningful value for RTC_VL_READ

ABX8XX_STATUS_BLF indicates the battery is low and needs to be replaced
soon.

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