diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index 156ef2c4046408b62a57846fb45afb321e613ae4..dc91bc6f7b8d5581dcdb04d05bc0f782921aa8e0 100644 --- a/drivers/cpufreq/cppc_cpufreq.c +++ b/drivers/cpufreq/cppc_cpufreq.c @@ -307,15 +307,15 @@ static int cppc_cpufreq_cpu_init(struct cpufreq_policy *policy) if (cpu_data->perf_caps.highest_perf > cpu_data->perf_caps.nominal_perf) boost_supported = true; - /* Set policy->cur to max now. The governors will adjust later. */ + /* Set policy->cur to norm now. */ policy->cur = cppc_cpufreq_perf_to_khz(cpu_data, - cpu_data->perf_caps.highest_perf); - cpu_data->perf_ctrls.desired_perf = cpu_data->perf_caps.highest_perf; + cpu_data->perf_caps.nominal_perf); + cpu_data->perf_ctrls.desired_perf = cpu_data->perf_caps.nominal_perf; ret = cppc_set_perf(cpu, &cpu_data->perf_ctrls); if (ret) pr_debug("Err setting perf value:%d on CPU:%d. ret:%d\n", - cpu_data->perf_caps.highest_perf, cpu, ret); + cpu_data->perf_caps.nominal_perf, cpu, ret); return ret; }