Uwe Kleine-König fbbf53f702 rtc: pcf8523: refuse to write dates later than 2099
When the chip increments the YEAR register and it already holds
bin2bcd(99) it reads as 0 afterwards. With this behaviour the last valid
day (without trickery) that has a representation is 2099-12-31 23:59:59.
So refuse to write later dates.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-01-11 20:19:54 +01:00
..
2015-09-05 19:37:31 +02:00
2015-09-05 19:37:18 +02:00
2015-11-10 10:01:21 -08:00
2015-11-10 10:01:21 -08:00
2015-06-25 01:13:44 +02:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08: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