pm selftest: rtc paranoia
commita2e2e3577c3ef2b5dbb866e97e612aae4adfa32f
authorDavid Brownell <dbrownell@users.sourceforge.net>
Sat, 26 Jul 2008 02:44:38 +0000 (25 19:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 26 Jul 2008 19:00:02 +0000 (26 12:00 -0700)
tree9f0889d3046078e1db7e8310171c7e3a48be42cc
parent44ccac13c7f4728cf2992d49384671a176db74dd
pm selftest: rtc paranoia

Cope with a quirk of some RTCs (notably ACPI ones) which aren't guaranteed
to implement oneshot behavior when they woke the system from sleeep:
forcibly disable the alarm, just in case.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/power/main.c