Power resource's device power state should be ACPI_STATE_D3_COLD when it's off. Signed-off-by: Lin Ming <ming.m.lin@xxxxxxxxx> --- drivers/acpi/power.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 27a2bad..d6065110 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -300,7 +300,7 @@ static int acpi_power_off(acpi_handle handle) result = -ENODEV; } else { /* Update the power resource's _device_ power state */ - resource->device->power.state = ACPI_STATE_D3; + resource->device->power.state = ACPI_STATE_D3_COLD; ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Power resource [%s] turned off\n", @@ -735,7 +735,7 @@ static int acpi_power_add(struct acpi_device *device) device->power.state = ACPI_STATE_D0; break; case ACPI_POWER_RESOURCE_STATE_OFF: - device->power.state = ACPI_STATE_D3; + device->power.state = ACPI_STATE_D3_COLD; break; default: device->power.state = ACPI_STATE_UNKNOWN; -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html