summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-bq4802.c
diff options
context:
space:
mode:
authorMaxim Levitsky <maximlevitsky@gmail.com>2009-12-16 01:45:52 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-16 16:19:58 +0100
commitd1b2efa83fbf7b33919238fa29ef6ab935820103 (patch)
tree57fd4462744112f9106b4e4e344c95b9008e1e5c /drivers/rtc/rtc-bq4802.c
parentautofs4: always use lookup for lookup (diff)
downloadlinux-d1b2efa83fbf7b33919238fa29ef6ab935820103.tar.xz
linux-d1b2efa83fbf7b33919238fa29ef6ab935820103.zip
rtc: disable hpet emulation on suspend
I noticed that rtc wont generate interrupts after a resume from disk. Here hpet rtc emulation is used. Problem is that rtc hpet comparator, isn't reinitialized after resume. Easiest way to solve this, is always mask all hpet interrupts on suspend This is triggered, when suspending with alarm set. Otherwise, hpet driver will think it doesn't need to reinitialize the rtc comparator, thus rtc interrupts won't work. This emulation isn't need for wakealarm. Signed-off-by: Maxim Levitsky <maximlevitsky@gmail.com> Cc: David Brownell <david-b@pacbell.net> Cc: "H. Peter Anvin" <hpa@zytor.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-bq4802.c')
0 files changed, 0 insertions, 0 deletions