summaryrefslogtreecommitdiffstats
path: root/lib/radix-tree.c
diff options
context:
space:
mode:
authorJan Kardell <jan.kardell@telliq.com>2015-05-28 08:48:45 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2015-06-25 01:13:40 +0200
commit538330ccb93849530f5617d1fa870237496caa60 (patch)
tree5079ddae4de1e6ae2f5440c4a5e52efd1934fc3e /lib/radix-tree.c
parentrtc: driver for Cortina Gemini (diff)
downloadlinux-538330ccb93849530f5617d1fa870237496caa60.tar.xz
linux-538330ccb93849530f5617d1fa870237496caa60.zip
rtc: pcf8563 fix: return -EINVAL if we read an invalid time.
Return -EINVAL if the voltage low bit is set to avoid getting a bogus time at boot. There was a comment stating that util-linux hwclock refuses to set a new time if we return an error code on read, but at least the current version do set the time as expected. Remove the comment and the check for valid time, and let the rtc core check it for us. Signed-off-by: Jan Kardell <jan.kardell@telliq.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'lib/radix-tree.c')
0 files changed, 0 insertions, 0 deletions