diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-30 11:28:20 +0200 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-30 11:50:22 +0200 |
commit | 7fe8fcee0cf90ef9aa4c6a123b8b6c3925ccded1 (patch) | |
tree | b65c529efa59ec73bb5bc0b8a120222ce01b6ba7 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3b2dc19ff9a1495cf08752b5a1ba8b986473f39f (diff) |
rtc: jz4740: rework invalid time detection
The scratchpad register is used to detect an invalid time when power to the
RTC has been lost. Instead of deleting that precious information and set
the time to the UNIX epoch, forward it to userspace.
Tested-by: Mathieu Malaterre <malat@debian.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions