]> git.karo-electronics.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:46:24 +0000 (08:46 -0800)
commit22f794762d84e88c5965455b7cc4149bf6c05e5a
treea85046d3695ba084065f2cf3285e814629ca1850
parentca3956dff41a87d21a854c8ac7fa882e41d16d62
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