mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
ACPI / PM: Use ACPI_STATE_D3_COLD instead of ACPI_STATE_D3 everywhere
There are several places in the tree where ACPI_STATE_D3 is used instead of ACPI_STATE_D3_COLD which should be used instead for clarity. Modify them all to use ACPI_STATE_D3_COLD as appropriate. [The definition of ACPI_STATE_D3 itself cannot go away at this point as it is part of ACPICA.] Signed-off-by: Rafael J. Wysocki <[email protected]> Reviewed-by: Aaron Lu <[email protected]>
This commit is contained in:
parent
b69137a74b
commit
8ad928d52e
7 changed files with 15 additions and 13 deletions
|
|
@ -947,11 +947,11 @@ static void pata_acpi_set_state(struct ata_port *ap, pm_message_t state)
|
|||
continue;
|
||||
|
||||
acpi_bus_set_power(dev_handle, state.event & PM_EVENT_RESUME ?
|
||||
ACPI_STATE_D0 : ACPI_STATE_D3);
|
||||
ACPI_STATE_D0 : ACPI_STATE_D3_COLD);
|
||||
}
|
||||
|
||||
if (!(state.event & PM_EVENT_RESUME))
|
||||
acpi_bus_set_power(port_handle, ACPI_STATE_D3);
|
||||
acpi_bus_set_power(port_handle, ACPI_STATE_D3_COLD);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue