diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-01-04 15:35:47 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-11 09:07:18 -0800 |
commit | 8f4d9c2f748cab8ef5a30e9d9e5261679af3462f (patch) | |
tree | caf14b812534b3d50d445e526defcefade8471f9 /include/asm-generic | |
parent | 850fcad11762fae7b25c6a9d3fdb5ff4d7a39420 (diff) |
drivers/rtc/rtc-vt8500.c: correct handling of CR_24H bitfield
commit 532db570e5181abc8f4f7bfa6c77c69ec2240198 upstream.
Control register bitfield for 12H/24H mode is handled incorrectly.
Setting CR_24H actually enables 12H mode. This patch renames the define
and changes the initialization code to correctly set 24H mode.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Cc: Edgar Toernig <froese@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic')
0 files changed, 0 insertions, 0 deletions