From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 1/2] cpufreq: mt8173: migrate to use operating-points-v2 bindings Date: Mon, 7 Dec 2015 15:34:27 +0530 Message-ID: <20151207100427.GG3294@ubuntu> References: <1449305584-414-1-git-send-email-pi-cheng.chen@linaro.org> <1449305584-414-2-git-send-email-pi-cheng.chen@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1449305584-414-2-git-send-email-pi-cheng.chen@linaro.org> Sender: linux-pm-owner@vger.kernel.org To: Pi-Cheng Chen Cc: Matthias Brugger , Michael Turquette , Daniel Kurtz , linux-mediatek@lists.infradead.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, devicetree@vger.kernel.org List-Id: devicetree@vger.kernel.org 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