diff options
author | Daniel Glöckner <dg@emlix.com> | 2011-08-03 23:21:02 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-04 00:25:20 (GMT) |
commit | 12b3e038e5bb4860c17d001e92a6fa9964c0a7b9 (patch) | |
tree | 73bed0f33454932de3bc1d9aa49cc255a4f072fb /fs/openpromfs | |
parent | dd48c085c1cdf9446f92826f1fd451167fb6c2fd (diff) | |
download | linux-12b3e038e5bb4860c17d001e92a6fa9964c0a7b9.tar.xz |
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>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions