diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-02-18 14:26:06 +0100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-02-22 00:29:05 +0100 |
commit | e102dc7a5498439bf72ae9f6457f2e7fe09a4ae0 (patch) | |
tree | 3b93a9f8c33eeb947a1be61b18c2e2dfe9b044e2 /drivers/phy/Kconfig | |
parent | rtc: isl12057: use PTR_ERR_OR_ZERO to fix coccinelle warnings (diff) | |
download | linux-e102dc7a5498439bf72ae9f6457f2e7fe09a4ae0.tar.xz linux-e102dc7a5498439bf72ae9f6457f2e7fe09a4ae0.zip |
rtc: mv: reset date if after year 2038
Dates after January, 19th 2038 are badly handled by userspace due to
the time being stored on 32 bits. This causes issues on some Marvell
platform on which the RTC is initialized by default to a date that's
beyond 2038, causing a really weird behavior of the RTC.
In order to avoid that, reset the date to a sane value if the RTC is
beyond 2038.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/phy/Kconfig')
0 files changed, 0 insertions, 0 deletions