diff options
| author | 2016-02-09 11:57:25 +0100 | |
|---|---|---|
| committer | 2016-03-14 17:08:17 +0100 | |
| commit | 7b5768486a910532885f01b9d2dad4818c8b3be1 (patch) | |
| tree | 6167744caeb0cbd53d7036053252e0b0c352540f /tools/perf/scripts/python | |
| parent | rtc: pcf2123: implement read_offset and set_offset (diff) | |
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
