lkml.org 
[lkml]   [2013]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Regression on cpufreq in v3.12-rc1
From
On 20 September 2013 14:03, Linus Walleij <linus.walleij@linaro.org> wrote:
> I suspect this hunk from the patch may be the cause:
>
> + if (cpufreq_driver) {
> + /* get the CPU */
> + policy = per_cpu(cpufreq_cpu_data, cpu);
> + if (policy)
> + kobject_get(&policy->kobj);
> + }
>
> - /* get the CPU */
> - policy = per_cpu(cpufreq_cpu_data, cpu);
>
> As you see we *always* set a policy pointer before this patch,
> but after this patch we only do it if we have a cpufreq driver
> registered!

Not really!! See this few lines above:

- if (!cpufreq_driver)
- goto err_out_unlock;
-


\
 
 \ /
  Last update: 2013-09-20 11:01    [W:0.082 / U:2.436 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site