Daniel Glöckner 12b3e038e5 rtc-omap: fix initialization of control register
As the comment explains, the intention of the code is to clear the
OMAP_RTC_CTRL_MODE_12_24 bit, but instead it only clears the
OMAP_RTC_CTRL_SPLIT and OMAP_RTC_CTRL_AUTO_COMP bits, which should be
kept.  OMAP_RTC_CTRL_DISABLE, OMAP_RTC_CTRL_SET_32_COUNTER,
OMAP_RTC_CTRL_TEST, and OMAP_RTC_CTRL_ROUND_30S are also better off
being cleared.

Signed-off-by: Daniel Glöckner <dg@emlix.com>
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>
2011-08-03 14:25:20 -10:00
..
2011-07-26 16:49:42 -07:00
2011-03-31 11:26:23 -03:00
2009-02-11 14:25:36 -08:00
2011-06-01 19:29:39 -07:00
2009-02-05 12:56:46 -08:00
2011-03-22 17:44:16 -07:00
2009-04-01 08:59:24 -07:00
2011-05-26 17:12:33 -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-07-25 21:00:19 -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
2011-03-31 11:26:23 -03:00