diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-30 08:36:20 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-07-30 08:36:20 -0400 |
commit | 8ad928d52e63a9b7d69f0873d7318c4561e2f8cd (patch) | |
tree | 35f0ed4a4d9da2953fe56949a25d66250ecd8832 /drivers/ata | |
parent | b69137a74b7a9451b3da504d1ef9ead7cb393922 (diff) |
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 <rafael.j.wysocki@intel.com>
Reviewed-by: Aaron Lu <aaron.lu@intel.com>
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/libata-acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libata-acpi.c b/drivers/ata/libata-acpi.c index cf4e7020adac..da8170dfc90f 100644 --- a/drivers/ata/libata-acpi.c +++ b/drivers/ata/libata-acpi.c | |||
@@ -947,11 +947,11 @@ static void pata_acpi_set_state(struct ata_port *ap, pm_message_t state) | |||
947 | continue; | 947 | continue; |
948 | 948 | ||
949 | acpi_bus_set_power(dev_handle, state.event & PM_EVENT_RESUME ? | 949 | acpi_bus_set_power(dev_handle, state.event & PM_EVENT_RESUME ? |
950 | ACPI_STATE_D0 : ACPI_STATE_D3); | 950 | ACPI_STATE_D0 : ACPI_STATE_D3_COLD); |
951 | } | 951 | } |
952 | 952 | ||
953 | if (!(state.event & PM_EVENT_RESUME)) | 953 | if (!(state.event & PM_EVENT_RESUME)) |
954 | acpi_bus_set_power(port_handle, ACPI_STATE_D3); | 954 | acpi_bus_set_power(port_handle, ACPI_STATE_D3_COLD); |
955 | } | 955 | } |
956 | 956 | ||
957 | /** | 957 | /** |