diff options
author | 2012-03-23 15:02:34 -0700 | |
---|---|---|
committer | 2012-03-23 16:58:39 -0700 | |
commit | 2778ebcc09c002cccdbd6b5509b5cbf4161b486d (patch) | |
tree | 096e1d6fe478c88db9d8cecf0e24c0d6fe4c73bb /drivers/rtc/rtc-sa1100.c | |
parent | drivers/rtc/rtc-twl.c: simplify RTC interrupt clearing (diff) | |
download | linux-dev-2778ebcc09c002cccdbd6b5509b5cbf4161b486d.tar.xz linux-dev-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-sa1100.c')
0 files changed, 0 insertions, 0 deletions