summaryrefslogtreecommitdiffstats
path: root/kernel/taskstats.c
diff options
context:
space:
mode:
authorDaniel Glöckner <dg@emlix.com>2011-08-03 16:21:02 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-08-03 14:25:20 -1000
commit12b3e038e5bb4860c17d001e92a6fa9964c0a7b9 (patch)
tree73bed0f33454932de3bc1d9aa49cc255a4f072fb /kernel/taskstats.c
parentdd48c085c1cdf9446f92826f1fd451167fb6c2fd (diff)
downloadlinux-stable-12b3e038e5bb4860c17d001e92a6fa9964c0a7b9.tar.gz
linux-stable-12b3e038e5bb4860c17d001e92a6fa9964c0a7b9.tar.bz2
linux-stable-12b3e038e5bb4860c17d001e92a6fa9964c0a7b9.zip
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 'kernel/taskstats.c')
0 files changed, 0 insertions, 0 deletions