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)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 4 Dec 2012 22:23:16 +0000 (23:23 +0100)
commitb7e383046c2c7c13ad928cd7407eafff758ddd4b
tree5d0ca5f0cc3cfc489b16f2d7437e1183d65d866c
parenta6b5e88c0e42093b9057856f35770966c8c591e3
ACPI : do not use Lid and Sleep button for S5 wakeup

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>
drivers/acpi/scan.c