ACPI : do not use Lid and Sleep button for S5 wakeup
authorZhang Rui <rui.zhang@intel.com>
Tue, 4 Dec 2012 22:23:16 +0000 (23:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 16:50:53 +0000 (08:50 -0800)
commitdc4a02c677c9667dcd7d118cee09a99ede9c64f4
tree6b8d0de83f9d876d82b802a3dfe0044f0ae77727
parenta0f8b51494051c7bf5d994ac33d2b8ce7c0d5867
ACPI : do not use Lid and Sleep button for S5 wakeup

commit b7e383046c2c7c13ad928cd7407eafff758ddd4b upstream.

When system enters power off, the _PSW of Lid device is enabled.
But this may cause the system to reboot instead of power off.

A proper way to fix this is to always disable lid wakeup capability for S5.

References: https://bugzilla.kernel.org/show_bug.cgi?id=35262
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Joseph Salisbury <joseph.salisbury@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/scan.c