]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/base/power/wakeup.c
PM / wakeup: Adjust messaging for wake events during suspend
authorBernie Thompson <bhthompson@chromium.org>
Sat, 1 Jun 2013 00:47:43 +0000 (00:47 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 11 Jun 2013 21:53:37 +0000 (23:53 +0200)
commit9350de06be45a5a8b927ac6577c9d35de61c90ca
treead2b68e1cfc2796fb355937a9347b4d6b3acdeb6
parent43d51af489126305dbacc1b8ebd1ce4797d277ea
PM / wakeup: Adjust messaging for wake events during suspend

This adds in a new message to the wakeup code which adds an
indication to the log that suspend was cancelled due to a wake event
occouring during the suspend sequence. It also adjusts the message
printed in suspend.c to reflect the potential that a suspend was
aborted, as opposed to a device failing to suspend.

Without these message adjustments one can end up with a kernel log
that says that a device failed to suspend with no actual device
suspend failures, which can be confusing to the log examiner.

Signed-off-by: Bernie Thompson <bhthompson@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c
kernel/power/suspend.c