]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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:43:58 +0000 (08:43 -0800)
commit4a6cf0c4f4f8465d61adbf3aaaec2bd100e30d97
tree2bf1b1faef6349d2d0fb75e8ca5aa56d7620c10a
parent5e3fe67e02c53e5a5fcf0e2b0d91dd93f757d50b
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