summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-m41t94.c
diff options
context:
space:
mode:
authorMylène Josserand <mylene.josserand@free-electrons.com>2016-03-29 06:56:05 (GMT)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-05-20 10:33:51 (GMT)
commit05a7f27a889f1635b7b7d5b051b17cacb25267fa (patch)
tree4198df3102566ceec1e0d65052be1179aa610ba1 /drivers/rtc/rtc-m41t94.c
parent3726a21833c9c96255735bddb5dacc8eacbff3ef (diff)
downloadlinux-05a7f27a889f1635b7b7d5b051b17cacb25267fa.tar.xz
rtc: m41t80: handle oscillator failure bit
Handle the Oscillator Failure (OF) bit on each read of date-time. If the OF is set, an error is returned (-EINVAL) instead of the date-time. The OF bit is cleared each time the date is set. Signed-off-by: Mylène Josserand <mylene.josserand@free-electrons.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc/rtc-m41t94.c')
0 files changed, 0 insertions, 0 deletions