mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user