Sfoglia il codice sorgente

Pull bug3410 into release branch

Len Brown 19 anni fa
parent
commit
7b3dad3d85
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      drivers/acpi/processor_thermal.c

+ 2 - 2
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)