Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350946
b: refs/heads/master
c: 511d5c4
h: refs/heads/master
v: v3
  • Loading branch information
Rafael J. Wysocki committed Feb 3, 2013
1 parent 05b0748 commit 2dd9905
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b3785492268f9f3cdaa9722facb84b266dcf8bf6
refs/heads/master: 511d5c4212948fe55035b8fed61ac0e125af5a05
3 changes: 3 additions & 0 deletions trunk/drivers/acpi/device_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ int acpi_bus_update_power(acpi_handle handle, int *state_p)
if (result)
return result;

if (state == ACPI_STATE_UNKNOWN)
state = ACPI_STATE_D0;

result = acpi_device_set_power(device, state);
if (!result && state_p)
*state_p = state;
Expand Down

0 comments on commit 2dd9905

Please sign in to comment.