From: Tony Prisk Date: Fri, 4 Jan 2013 23:35:47 +0000 (-0800) Subject: drivers/rtc/rtc-vt8500.c: correct handling of CR_24H bitfield X-Git-Tag: v3.2.37~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c71f617db16d23d9c01faf7e5f63c058047d9648;p=pandora-kernel.git 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 Cc: Edgar Toernig Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed