Johannes Weiner cb8799eedd rtc-x1205: reset clock to sane state after power failure
When detecting power failure, the probe function would reset the clock
time to defined state.

However, the clock's _date_ might still be bogus and a subsequent probe
fails when sanity-checking these values.

Change the power-failure fixup code to do a full setting of rtc_time,
including a valid date.

Signed-off-by: Johannes Weiner <jw@emlix.com>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-12-01 16:32:20 -08:00
..
2009-09-23 07:39:45 -07:00
2009-09-23 07:39:45 -07:00
2009-09-17 09:47:24 +02:00
2009-09-23 07:39:46 -07:00
2009-02-11 14:25:36 -08:00
2009-09-23 07:39:45 -07:00
2009-02-05 12:56:46 -08:00
2009-01-06 15:59:25 -08:00
2009-09-23 07:39:43 -07:00
2009-07-06 13:57:03 -07:00
2009-09-23 07:39:43 -07:00
2009-06-18 13:03:43 -07:00
2009-09-23 07:39:43 -07:00
2009-04-01 08:59:24 -07:00
2008-10-20 08:52:41 -07:00
2009-09-23 07:39:43 -07:00
2008-10-20 08:52:41 -07:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:45 -07:00
2009-04-02 01:05:32 +00:00
2009-09-23 07:39:43 -07:00
2009-09-23 07:39:43 -07:00
2008-11-21 01:24:38 -08:00
2008-11-14 16:37:54 -08:00
2009-06-18 13:03:43 -07:00
2009-11-12 07:25:58 -08:00
2009-04-01 08:59:26 -07:00