aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide')
-rw-r--r--drivers/ide/ide-acpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/ide/ide-acpi.c b/drivers/ide/ide-acpi.c
index f1a6796b165c..140c8ef50529 100644
--- a/drivers/ide/ide-acpi.c
+++ b/drivers/ide/ide-acpi.c
@@ -520,11 +520,12 @@ void ide_acpi_set_state(ide_hwif_t *hwif, int on)
520 ide_port_for_each_present_dev(i, drive, hwif) { 520 ide_port_for_each_present_dev(i, drive, hwif) {
521 if (drive->acpidata->obj_handle) 521 if (drive->acpidata->obj_handle)
522 acpi_bus_set_power(drive->acpidata->obj_handle, 522 acpi_bus_set_power(drive->acpidata->obj_handle,
523 on ? ACPI_STATE_D0 : ACPI_STATE_D3); 523 on ? ACPI_STATE_D0 : ACPI_STATE_D3_COLD);
524 } 524 }
525 525
526 if (!on) 526 if (!on)
527 acpi_bus_set_power(hwif->acpidata->obj_handle, ACPI_STATE_D3); 527 acpi_bus_set_power(hwif->acpidata->obj_handle,
528 ACPI_STATE_D3_COLD);
528} 529}
529 530
530/** 531/**