]> Pileus Git - ~andy/linux/blobdiff - drivers/acpi/acpica/hwxfsleep.c
ACPICA: Do not use extended sleep registers unless HW-reduced bit is set
[~andy/linux] / drivers / acpi / acpica / hwxfsleep.c
index 111849c2117f1cf6255fe56b627aac7367beaeae..f2e669db8b65e90deddae8ee64a1e2b8ed3bfb39 100644 (file)
@@ -240,12 +240,14 @@ static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id)
            &acpi_sleep_dispatch[function_id];
 
 #if (!ACPI_REDUCED_HARDWARE)
-
        /*
         * If the Hardware Reduced flag is set (from the FADT), we must
-        * use the extended sleep registers
+        * use the extended sleep registers (FADT). Note: As per the ACPI
+        * specification, these extended registers are to be used for HW-reduced
+        * platforms only. They are not general-purpose replacements for the
+        * legacy PM register sleep support.
         */
-       if (acpi_gbl_reduced_hardware || acpi_gbl_FADT.sleep_control.address) {
+       if (acpi_gbl_reduced_hardware) {
                status = sleep_functions->extended_function(sleep_state);
        } else {
                /* Legacy sleep */