diff options
author | Alexandre Belloni <[email protected]> | 2019-04-30 11:28:20 +0200 |
---|---|---|
committer | Alexandre Belloni <[email protected]> | 2019-04-30 11:50:22 +0200 |
commit | 7fe8fcee0cf90ef9aa4c6a123b8b6c3925ccded1 (patch) | |
tree | b65c529efa59ec73bb5bc0b8a120222ce01b6ba7 /net/lapb/lapb_timer.c | |
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 <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions