Viresh Kumar d3a10c1475 cpufreq-dt: pass 'policy->related_cpus' to of_cpufreq_cooling_register()
The second parameter of of_cpufreq_cooling_register() should be the CPUs to
which the frequency constraint will apply. As the cpufreq-dt driver now supports
platforms with multiple 'struct cpufreq_policy' instances (i.e. > 1 clock
domains for CPUs), passing 'cpu_present_mask' isn't correct anymore. As every
policy will have a set of CPUs and that may not be equal to 'cpu_present_mask'
always.

So, pass only mask of CPUs which are controlled by current policy.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Eduardo Valentin <edubezval@gmail.com>
Tested-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2014-11-29 23:38:38 +01:00
..
2014-11-14 15:17:17 +01:00
2014-10-08 17:37:16 -04:00
2014-11-13 18:07:52 -08:00
2014-11-14 07:03:02 +10:00
2014-10-15 07:23:49 +02:00
2014-11-16 15:34:31 -08:00
2014-10-07 21:29:18 -04:00
2014-11-02 14:45:52 -08:00
2014-10-31 18:48:29 -07:00
2014-10-21 08:17:43 -07:00
2014-11-10 15:25:41 +01:00
2014-10-15 07:23:49 +02:00