Files
android_kernel_xiaomi_sm8450/drivers/rtc
Alexandre Belloni d9dcfa5f70 rtc: ds1347: properly handle oscillator failures
The comment in the probe function stating that it disables oscillator stop
detection and glitch filtering is incorrect as it sets bits 3 and 4 while
it should be setting 5 and 6 to achieve that. Then, it is safe to assume
that the oscillator failure detection is actually enabled.

Properly handle oscillator failures by returning -EINVAL when the time and
date are know to be incorrect and reset the flag when the time is set.

Link: https://lore.kernel.org/r/20191007134724.15505-8-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2019-10-07 15:49:35 +02:00
..
2019-10-07 15:49:16 +02:00
2019-04-16 18:06:54 +02:00
2019-04-04 10:07:10 +02:00
2016-05-20 12:33:51 +02:00
2019-05-23 17:44:52 +02:00
2019-05-08 22:14:36 +02:00