From: Venu Byravarasu Date: Fri, 23 Mar 2012 22:02:34 +0000 (-0700) Subject: drivers/rtc/rtc-twl.c: return correct RTC event from ISR X-Git-Tag: v3.4-rc1~109^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2778ebcc09c002cccdbd6b5509b5cbf4161b486d;p=pandora-kernel.git drivers/rtc/rtc-twl.c: return correct RTC event from ISR Following changes are made as part of this change: 1. As TWL RTC supports periodic interrupt, the correct event should be RTC_PF instead of RTC_UF. 2. No need to initialize variable "events" to 0 & then OR it with the event values. Hence fixing it. Signed-off-by: Venu Byravarasu Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed