diff options
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/device_pm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 164d609d7c9e..dd314ef9bff1 100644 --- a/drivers/acpi/device_pm.c +++ b/drivers/acpi/device_pm.c | |||
@@ -355,6 +355,9 @@ int acpi_bus_update_power(acpi_handle handle, int *state_p) | |||
355 | if (result) | 355 | if (result) |
356 | return result; | 356 | return result; |
357 | 357 | ||
358 | if (state == ACPI_STATE_UNKNOWN) | ||
359 | state = ACPI_STATE_D0; | ||
360 | |||
358 | result = acpi_device_set_power(device, state); | 361 | result = acpi_device_set_power(device, state); |
359 | if (!result && state_p) | 362 | if (!result && state_p) |
360 | *state_p = state; | 363 | *state_p = state; |