]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/acpi/sleep.c
Revert "PM / sleep / ACPI: Use the ACPI_FADT_LOW_POWER_S0 flag"
[mirror_ubuntu-artful-kernel.git] / drivers / acpi / sleep.c
index ce1855fd584b190cdb6feede2e918fe4cbb0628a..deb0ff78eba8705b56292d1acf2e206541ee8bf8 100644 (file)
@@ -691,14 +691,6 @@ static void acpi_sleep_suspend_setup(void)
                if (acpi_sleep_state_supported(i))
                        sleep_states[i] = 1;
 
-       /*
-        * Use suspend-to-idle by default if ACPI_FADT_LOW_POWER_S0 is set and
-        * the default suspend mode was not selected from the command line.
-        */
-       if (acpi_gbl_FADT.flags & ACPI_FADT_LOW_POWER_S0 &&
-           mem_sleep_default > PM_SUSPEND_MEM)
-               mem_sleep_default = PM_SUSPEND_FREEZE;
-
        suspend_set_ops(old_suspend_ordering ?
                &acpi_suspend_ops_old : &acpi_suspend_ops);
        freeze_set_ops(&acpi_freeze_ops);