diff options
author | Venu Byravarasu <vbyravarasu@nvidia.com> | 2012-03-23 15:02:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 16:58:39 -0700 |
commit | 2778ebcc09c002cccdbd6b5509b5cbf4161b486d (patch) | |
tree | 096e1d6fe478c88db9d8cecf0e24c0d6fe4c73bb /drivers/acpi/osl.c | |
parent | 94a339d016e26f96a1bd9e08306c857825c91a66 (diff) |
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/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions