[PATCH 1/2] cpufreq: mt8173: migrate to use operating-points-v2 bindings
From: Pi-Cheng Chen <hidden>
Date: 2015-12-07 12:43:21
Also in:
linux-devicetree, linux-mediatek, linux-pm
From: Pi-Cheng Chen <hidden>
Date: 2015-12-07 12:43:21
Also in:
linux-devicetree, linux-mediatek, linux-pm
On Mon, Dec 7, 2015 at 6:04 PM, Viresh Kumar [off-list ref] wrote:
On 05-12-15, 16:53, Pi-Cheng Chen wrote:quoted
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.
Hi Viresh, Thanks for reviewing. Will do it. Pi-Cheng
-- viresh