Stefan Christ bcebd81d00 rtc: m41t80: avoid out of range year values
Avoid saving an out of range year value to the RTC. Reading that value
from the RTC again returns a totally wrong time value. For Example

    $ timedatectl set-ntp no
    $ timedatectl set-time "1990-01-01 12:12:00"
    # Reboot
    rtc-m41t80 0-0068: setting system clock to 2090-01-01 12:12:35 UTC (3786955955)

Signed-off-by: Stefan Christ <s.christ@phytec.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-03-19 00:00:59 +01:00
..
2016-03-15 00:29:33 +01:00
2016-03-14 17:08:35 +01:00
2016-01-11 20:20:01 +01:00
2015-11-10 10:01:21 -08:00
2015-11-10 10:01:21 -08:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2016-03-14 17:08:20 +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