summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-mpc5121.c
diff options
context:
space:
mode:
authorVenu Byravarasu <vbyravarasu@nvidia.com>2012-03-23 23:02:34 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-24 00:58:39 +0100
commit2778ebcc09c002cccdbd6b5509b5cbf4161b486d (patch)
tree096e1d6fe478c88db9d8cecf0e24c0d6fe4c73bb /drivers/rtc/rtc-mpc5121.c
parentdrivers/rtc/rtc-twl.c: simplify RTC interrupt clearing (diff)
downloadlinux-2778ebcc09c002cccdbd6b5509b5cbf4161b486d.tar.xz
linux-2778ebcc09c002cccdbd6b5509b5cbf4161b486d.zip
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 <vbyravarasu@nvidia.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions