]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ACPI: suspend: don't let device _PS3 failure prevent suspend
authorLen Brown <len.brown@intel.com>
Fri, 8 May 2009 04:22:29 +0000 (00:22 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jul 2009 23:06:11 +0000 (16:06 -0700)
commit760fc210853f9b1893572c41ea42f878ae57b97f
tree8f809f5beb766df491ae62b06a9d262d81eba1c2
parentd2423fbb8d344ece0e3b6116cd30fc6d1d8a4692
ACPI: suspend: don't let device _PS3 failure prevent suspend

commit 19bde778c1fd2574cc020a618d7d576f260271ca upstream.

6328a57401dc5f5cf9931738eb7268fcd8058c49
"Enable PNPACPI _PSx Support, v3"

added a call to acpi_bus_set_power(handle, ACPI_STATE_D3)
to pnpacpi_disable_resource() before the existing call
to evaluate _DIS on the device.

This caused suspend to fail on the system in
http://bugzilla.kernel.org/show_bug.cgi?id=13243
because the sanity check to verify we entered _PS3
failed on the serial port.

As a work-around, that sanity check can be disabled
system-wide with "acpi.power_nocheck=1"

Or perhaps we should just shrug off the _PS3 failure
and carry on with _DIS like we used to -- which is
what this patch does.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pnp/pnpacpi/core.c