[PATCH 1/2] cpufreq: mt8173: migrate to use operating-points-v2 bindings

Pi-Cheng Chen pi-cheng.chen at linaro.org
Mon Dec 7 04:43:21 PST 2015


On Mon, Dec 7, 2015 at 6:04 PM, Viresh Kumar <viresh.kumar at linaro.org> wrote:
> 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.

Hi Viresh,

Thanks for reviewing.
Will do it.

Pi-Cheng

>
> --
> viresh



More information about the Linux-mediatek mailing list