[CPUFREQ] pcc-cpufreq: don't load driver if get_freq fails during init.
[deliverable/linux.git] / arch / x86 / kernel / cpu / cpufreq / pcc-cpufreq.c
index 4f6f679f27990198640f9a1e139ea3a838b05eb8..4a5a42b842adfcc457f77745584eaca3c7882bdd 100644 (file)
@@ -195,7 +195,7 @@ static unsigned int pcc_get_freq(unsigned int cpu)
 cmd_incomplete:
        iowrite16(0, &pcch_hdr->status);
        spin_unlock(&pcc_lock);
-       return -EINVAL;
+       return 0;
 }
 
 static int pcc_cpufreq_target(struct cpufreq_policy *policy,
This page took 0.0366 seconds and 5 git commands to generate.