From: Zhao Yakui Date: Tue, 15 Apr 2008 21:34:29 +0000 (-0700) Subject: rtc: fix the error in the function of cmos_set_alarm X-Git-Tag: v2.6.25~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b653e06ce2d70d21483f22ef1b1b63749c54223;p=pandora-kernel.git rtc: fix the error in the function of cmos_set_alarm There is a bug in the function of cmos_set_alarm. RTC alarm time for October can't be set correctly. For October: 0x0A will be written into the RTC region (MONTH_ALARM) in current kernel. But in fact 0x10 should be written. Wildcards are also not handled correctly. Signed-off-by: Zhao Yakui Signed-off-by: Zhang Rui Signed-off-by: David Brownell Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed