diff options
| author | Daniel Glöckner <[email protected]> | 2011-08-03 16:21:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2011-08-03 14:25:20 -1000 |
| commit | 12b3e038e5bb4860c17d001e92a6fa9964c0a7b9 (patch) | |
| tree | 73bed0f33454932de3bc1d9aa49cc255a4f072fb /include/linux/debugobjects.h | |
| parent | dd48c085c1cdf9446f92826f1fd451167fb6c2fd (diff) | |
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 <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions