Yauhen Kharuzhy 7287be1d0a drivers/rtc/rtc-mxc.c: fix setting time for MX1 SoC
There is no way to track year in the i.MX1 RTC: Days Counter register is
9-bit wide only.  Attempt to save date after 1970-01-01 plus 512 days
causes endless loop in mxc_rtc_set_mmss().  Fix this by resetting year to
1970.

[akpm@linux-foundation.org: use conventional comment layout]
Signed-off-by: Yauhen Kharuzhy <jekhor@gmail.com>
Cc: Daniel Mack <daniel@caiaq.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-01-10 16:30:52 -08:00
..
2009-02-11 14:25:36 -08:00
2011-06-01 19:29:39 -07:00
2011-03-22 17:44:16 -07:00
2009-04-01 08:59:24 -07:00
2011-08-26 17:26:35 -07:00
2011-03-31 11:26:23 -03:00
2009-04-02 01:05:32 +00:00
2009-09-23 07:39:43 -07:00
2011-05-26 17:12:33 -07:00
2011-05-26 17:12:33 -07:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00