OpenCloudOS-Kernel/drivers/pnp
Len Brown 19bde778c1 ACPI: suspend: don't let device _PS3 failure prevent suspend
6328a57401
"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>
2009-05-08 00:22:29 -04:00
..
isapnp Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
pnpacpi ACPI: suspend: don't let device _PS3 failure prevent suspend 2009-05-08 00:22:29 -04:00
pnpbios pnpbios: propagate kthread_run() error 2009-04-02 19:04:52 -07:00
Kconfig PNP: remove old CONFIG_PNP_DEBUG option 2008-10-10 23:35:33 -04:00
Makefile Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
base.h Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
card.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
core.c dma-mapping: replace all DMA_24BIT_MASK macro with DMA_BIT_MASK(24) 2009-04-07 08:31:12 -07:00
driver.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
interface.c drivers: remove duplicated #include 2008-11-04 08:18:19 -08:00
manager.c PNP: convert to using pnp_dbg() 2008-10-10 23:34:33 -04:00
quirks.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
resource.c Merge branch 'linus' into test 2008-10-23 00:11:07 -04:00
support.c PNP: convert to using pnp_dbg() 2008-10-10 23:34:33 -04:00
system.c pnp: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:38 -08:00