Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a8e03910 authored by Junjie Wu's avatar Junjie Wu Committed by Matt Wagantall
Browse files

qcom-cpufreq: Fill in policy->freq_table



CPUfreq framework replaced per-cpu freq_table with per-policy
freq_table, and deprecated previous per-cpu APIs.

Fill in policy->freq_table.

Change-Id: Ifc9ac1b6695fd12629a447984dbbd57d657961b2
Signed-off-by: default avatarJunjie Wu <junjiew@codeaurora.org>
parent 266f3c15
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -158,7 +158,7 @@ static int msm_cpufreq_init(struct cpufreq_policy *policy)
	pr_debug("cpufreq: cpu%d init at %d switching to %d\n",
			policy->cpu, cur_freq, table[index].frequency);
	policy->cur = table[index].frequency;
	cpufreq_frequency_table_get_attr(table, policy->cpu);
	policy->freq_table = table;

	return 0;
}