summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-pic32.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-pic32.c
parent6ed1a51e0b8a981ab0540117f0c47c1f11fca5fa (diff)
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-pic32.c')
0 files changed, 0 insertions, 0 deletions