OSDN Git Service

rtc: pcf85063: return meaningful value for RTC_VL_READ
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 14 Dec 2019 22:02:53 +0000 (23:02 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 18 Dec 2019 09:37:35 +0000 (10:37 +0100)
commitf86dc5bde18e540743eaef20529d9f2b67283abd
treee9c4f28bad63a9d24daa0e8140c1e9fb8999ef04
parent0295c27f90bb6ec43ab519b63948c11d01d29604
rtc: pcf85063: return meaningful value for RTC_VL_READ

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

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