linux/include/acpi
Rafael J. Wysocki 761afb869f ACPI / PM: Fix problems with acpi_pm_device_sleep_state()
There is a number of problems with acpi_pm_device_sleep_state() now.
First, if _S0W is not defined, it prevents devices from being put
into D3 by PCI runtime PM, which shouldn't happen.  Second, it
shouldn't use adev->wakeup.state.enabled, because if it's set, it
only means that either the device is permanently enabled to wake up
the system, or that it has been enabled to do that through
/proc/acpi/wakeup.  Finally, it should be compiled if CONFIG_PM_SLEEP
is not set, so that PCI runtime PM works correctly in that case.
Fix these problems.

Reported-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-10-15 16:25:15 -04:00
..
platform acpi: fix bogus preemption logic 2010-08-12 08:43:29 -07:00
acexcep.h ACPICA: Fix namestring associated with AE_NO_HANDLER exception 2010-06-12 00:54:36 -04:00
acnames.h
acoutput.h ACPICA: Update debug output components 2010-07-06 22:34:27 -04:00
acpi_bus.h ACPI / PM: Fix problems with acpi_pm_device_sleep_state() 2010-10-15 16:25:15 -04:00
acpi_drivers.h
acpi_numa.h
acpi.h
acpiosxf.h
acpixf.h ACPI: Fix typos 2010-09-28 21:38:19 -04:00
acrestyp.h
actbl1.h
actbl2.h ACPICA: Add support for WDDT - Watchdog Descriptor Table 2010-07-06 22:34:27 -04:00
actbl.h
actypes.h ACPICA: Drop acpi_set_gpe 2010-07-06 22:34:27 -04:00
apei.h
atomicio.h
button.h
container.h
hed.h
pdc_intel.h
processor.h ACPI processor: remove deprecated ACPI procfs I/F 2010-08-15 00:31:45 -04:00
reboot.h
video.h