-
由 Jan Östlund 提交于
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: NJan Östlund <jao@hms.se> Signed-off-by: NDaniel Romell <daro@hms.se> Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
421a5ba2