diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-22 15:56:35 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-01-22 15:56:35 +0400 |
commit | e5656271b0221a53e9f74856385112fdcec0dd60 (patch) | |
tree | bd486b5c6c93154a68cf13c38aa7f2d70a71392c /drivers/acpi/internal.h | |
parent | 898fee4f6ed52b5b5dd159b221d2ad7ce40ae2dd (diff) | |
download | linux-e5656271b0221a53e9f74856385112fdcec0dd60.tar.xz |
ACPI / PM: Fix device power state value after transitions to D3cold
When a transition to the D3cold power state is requested,
acpi_device_set_power() first carries out a transition to D3hot and
then turns off the device's power resources. However, it fails to
update the device's power.state field appropriately and D3hot is
stored in it as a result.
Fix this, but make sure that the device's power state will be
D3hot if its power resources cannot be turned off in the final
step.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/internal.h')
0 files changed, 0 insertions, 0 deletions