[PATCH 1/2] cpufreq: mt8173: migrate to use operating-points-v2 bindings
From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2015-12-07 10:04:27
Also in:
linux-devicetree, linux-mediatek, linux-pm
From: viresh.kumar@linaro.org (Viresh Kumar)
Date: 2015-12-07 10:04:27
Also in:
linux-devicetree, linux-mediatek, linux-pm
On 05-12-15, 16:53, Pi-Cheng Chen wrote:
diff --git a/drivers/cpufreq/mt8173-cpufreq.c b/drivers/cpufreq/mt8173-cpufreq.c index 257bcb9..17e9cad 100644 --- a/drivers/cpufreq/mt8173-cpufreq.c +++ b/drivers/cpufreq/mt8173-cpufreq.c@@ -344,6 +344,9 @@ static int mtk_cpu_dvfs_info_init(struct mtk_cpu_dvfs_info *info, int cpu) unsigned long rate; int ret; + /* Mark the first owner of this CPU DVFS domain information */ + cpumask_set_cpu(cpu, &info->cpus); +
This is bad, sorry about that. Please update dev_pm_opp_of_get_sharing_cpus() to update this as well. -- viresh