summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorVenkatesh Pallipadi <venkatesh.pallipadi@intel.com>2005-07-29 21:51:36 +0200
committerLen Brown <len.brown@intel.com>2005-07-29 21:54:03 +0200
commit4a7164023959040e687e51663dee67cff4d2b770 (patch)
treef6e0dbbaf9a0ac2e0029eb58956410549e0301b7 /drivers/acpi/processor_idle.c
parentACPI: delete unnecessary EC console messages (diff)
downloadlinux-4a7164023959040e687e51663dee67cff4d2b770.tar.xz
linux-4a7164023959040e687e51663dee67cff4d2b770.zip
[ACPI] Fix the regression with c1_default_handler on some systems
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>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index 8f038cd29477..aea745f4a8b0 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -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);
}