]> Git Repo - linux.git/commit
rtc: disable hpet emulation on suspend
authorMaxim Levitsky <[email protected]>
Wed, 16 Dec 2009 00:45:52 +0000 (16:45 -0800)
committerLinus Torvalds <[email protected]>
Wed, 16 Dec 2009 15:19:58 +0000 (07:19 -0800)
commitd1b2efa83fbf7b33919238fa29ef6ab935820103
tree57fd4462744112f9106b4e4e344c95b9008e1e5c
parent213614d583748d00967a91cacd656f417efb36ce
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 <[email protected]>
Cc: David Brownell <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "Rafael J. Wysocki" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-cmos.c
This page took 0.057766 seconds and 4 git commands to generate.