diff options
author | Len Brown <len.brown@intel.com> | 2005-12-23 04:26:10 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2005-12-23 04:26:10 +0100 |
commit | 7b3dad3d854654e470a598d361919ebdb858f37b (patch) | |
tree | 48a223dc23355d9d86f5d9c4607d8b10df1738f4 /drivers | |
parent | Pull owner_id into release branch (diff) | |
parent | [ACPI] fix passive cooling regression (diff) | |
download | linux-7b3dad3d854654e470a598d361919ebdb858f37b.tar.xz linux-7b3dad3d854654e470a598d361919ebdb858f37b.zip |
Pull bug3410 into release branch
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/processor_thermal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_thermal.c b/drivers/acpi/processor_thermal.c index f37584015324..dc9817cfb882 100644 --- a/drivers/acpi/processor_thermal.c +++ b/drivers/acpi/processor_thermal.c @@ -102,8 +102,8 @@ static int cpu_has_cpufreq(unsigned int cpu) { struct cpufreq_policy policy; if (!acpi_thermal_cpufreq_is_init || cpufreq_get_policy(&policy, cpu)) - return -ENODEV; - return 0; + return 0; + return 1; } static int acpi_thermal_cpufreq_increase(unsigned int cpu) |