]> git.karo-electronics.de Git - karo-tx-linux.git/commit
As the comment explains, the intention of the code is to clear the
authorDaniel Glöckner <dg@emlix.com>
Wed, 3 Aug 2011 00:52:28 +0000 (10:52 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 3 Aug 2011 04:17:31 +0000 (14:17 +1000)
commita8194c911495a24cdd220d3ce98a058555faed3c
tree2900e8b4b6efb56c85f5e4bae2e50986b745e354
parentf1b6bffca302e4e0420417432f412568cedf922c
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>
drivers/rtc/rtc-omap.c