cpufreq: defect clean up overrun [1/1]

PD#SWPL-16541

Problem:
defect clean up overrun

Solution:
defect clean up overrun

Verify:
test pass on g12a_u200

Change-Id: Ib9b5c1f5da9fed34a552eb7ee539e7276d922e38
Signed-off-by: Hong Guo <hong.guo@amlogic.com>
This commit is contained in:
Hong Guo
2019-11-08 19:52:50 +08:00
committed by Luke Go
parent 479df3b358
commit 2f44178eef

View File

@@ -566,8 +566,7 @@ static int meson_cpufreq_init(struct cpufreq_policy *policy)
}
pr_info("value of gp1_clk_target %u\n", gp1_clk_target);
if (cur_cluster < MAX_CLUSTERS)
cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu));
cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu));
tables_index = choose_cpufreq_tables_index(np, cur_cluster);
ret = dev_pm_opp_of_cpumask_add_table_indexed(policy->cpus,