diff options
author | Derek Basehore <dbasehore@chromium.org> | 2013-06-12 14:04:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-06-12 16:29:45 -0700 |
commit | ebf8d6c8630bfd3e24683306599cb953c9a2842c (patch) | |
tree | 38bf89d51bd1d64d0afc9d3dc85968ad69991597 /drivers/rtc/rtc-pcf8523.c | |
parent | 5a280844bb3bcd79076cac6ad002f71d25c798e5 (diff) | |
download | linux-stable-ebf8d6c8630bfd3e24683306599cb953c9a2842c.tar.gz linux-stable-ebf8d6c8630bfd3e24683306599cb953c9a2842c.tar.bz2 linux-stable-ebf8d6c8630bfd3e24683306599cb953c9a2842c.zip |
drivers/rtc/rtc-cmos.c: fix accidentally enabling rtc channel
During resume, we call hpet_rtc_timer_init after masking an irq bit in
hpet. This will cause the call to hpet_disable_rtc_channel to be undone
if RTC_AIE is the only bit not masked.
Allowing the cmos interrupt handler to run before resuming caused some
issues where the timer for the alarm was not removed. This would cause
other, later timers to not be cleared, so utilities such as hwclock
would time out when waiting for the update interrupt.
[akpm@linux-foundation.org: coding-style tweak]
Signed-off-by: Derek Basehore <dbasehore@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-pcf8523.c')
0 files changed, 0 insertions, 0 deletions