diff options
| author | 2016-08-11 13:31:44 +0200 | |
|---|---|---|
| committer | 2016-08-31 18:21:35 +0200 | |
| commit | 421a5ba24b3ef23b8972a6c238bd300abef532da (patch) | |
| tree | 0b620b64c90e540777d555411e0790d10f9ed6ed /include/linux | |
| parent | rtc: bq32k: Use correct mask name for 'minutes' register. (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
