Commit 7b3dad3d authored by Len Brown's avatar Len Brown

Pull bug3410 into release branch

parents 3c058d8b 75b245b3
...@@ -102,8 +102,8 @@ static int cpu_has_cpufreq(unsigned int cpu) ...@@ -102,8 +102,8 @@ static int cpu_has_cpufreq(unsigned int cpu)
{ {
struct cpufreq_policy policy; struct cpufreq_policy policy;
if (!acpi_thermal_cpufreq_is_init || cpufreq_get_policy(&policy, cpu)) 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) static int acpi_thermal_cpufreq_increase(unsigned int cpu)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment