ACPI: suspend: don't let device _PS3 failure prevent suspend
commit19bde778c1fd2574cc020a618d7d576f260271ca
authorLen Brown <len.brown@intel.com>
Fri, 8 May 2009 04:22:29 +0000 (8 00:22 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 8 May 2009 04:22:29 +0000 (8 00:22 -0400)
tree10dfb73d8cc05cc325123f8e41474e44ce541e67
parentddc50b6ad634d9ce2526a777d4b7da80effdfb60
ACPI: suspend: don't let device _PS3 failure prevent suspend

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>
drivers/pnp/pnpacpi/core.c