Files
android_kernel_xiaomi_sm8450/drivers/rtc
Juergen Borleis 7b5768486a rtc: pcf85063: simplify code to read the current time
By using i2c_smbus_read_i2c_block_data() the code is now much simpler.

While at it: when reading the RTC's seconds register, all time/date registers
are frozen until the RTC's year register is read. So it is important to read
all time/date registers in one turn to not lose a second event. Make it more
clear why the read must happen in this way.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-03-14 17:08:17 +01:00
..
2016-03-14 17:08:14 +01:00
2016-03-14 17:08:14 +01:00
2016-01-11 20:20:01 +01:00
2015-09-05 19:37:18 +02:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2016-02-04 23:44:16 +01:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2015-09-05 19:37:19 +02:00