]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ACPI] Fix the regression with c1_default_handler on some systems
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Fri, 29 Jul 2005 19:51:36 +0000 (15:51 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 29 Jul 2005 19:54:03 +0000 (15:54 -0400)
where C-states come from FADT.

Thanks to Kevin Radloff for identifying the issue and
isolating it to exact line of code that is causing the issue.

Signed-off-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_idle.c

index 8f038cd294778af1dd8322d7c0f2938b4b146ff7..aea745f4a8b0ba3859d47d1caf0e458c60ebb2d2 100644 (file)
@@ -842,7 +842,7 @@ static int acpi_processor_get_power_info (
        result = acpi_processor_get_power_info_cst(pr);
        if ((result) || (acpi_processor_power_verify(pr) < 2)) {
                result = acpi_processor_get_power_info_fadt(pr);
-               if (result)
+               if ((result) || (acpi_processor_power_verify(pr) < 2))
                        result = acpi_processor_get_power_info_default_c1(pr);
        }