summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-m41t94.c
diff options
context:
space:
mode:
authorJan Östlund <jao@hms.se>2016-08-11 13:31:44 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-08-31 18:21:35 +0200
commit421a5ba24b3ef23b8972a6c238bd300abef532da (patch)
tree0b620b64c90e540777d555411e0790d10f9ed6ed /drivers/rtc/rtc-m41t94.c
parentrtc: bq32k: Use correct mask name for 'minutes' register. (diff)
downloadlinux-421a5ba24b3ef23b8972a6c238bd300abef532da.tar.xz
linux-421a5ba24b3ef23b8972a6c238bd300abef532da.zip
rtc: bq32k: Fix handling of oscillator failure flag
While the oscillator failure flag is set, the RTC registers should be considered invalid. bq32k_rtc_read_time() now returns an error instead of an invalid time. The failure flag is cleared the next time the clock is set. Signed-off-by: Jan Östlund <jao@hms.se> Signed-off-by: Daniel Romell <daro@hms.se> 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