diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-02-01 01:40:01 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-01 19:29:31 -0500 |
commit | 4c738d00cf5866a0b114ceb41d736a4a803f0c46 (patch) | |
tree | d1886e16227d562660a873fc9d87078a07cfc499 /drivers/cpufreq/spear-cpufreq.c | |
parent | 16a44f82674ddd8d5b5b2527979ac22a25c55c50 (diff) |
cpufreq: Set all cpus in policy->cpus for single cluster SoCs
With following patch, we need to set policy->cpus with mask of all possible cpus
and policy->related_cpus would be filled automatically by the core.
commit 4948b355e90080cd5ec1e91189f65a01e4186ef2
Author: Viresh Kumar <viresh.kumar@linaro.org>
Date: Tue Jan 29 14:39:08 2013 +0000
cpufreq: Simplify cpufreq_add_dev()
Lets fix it for all single cluster SoCs.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/spear-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/spear-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index a0265353cb45..7e4d77327957 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c | |||
@@ -191,7 +191,7 @@ static int spear_cpufreq_init(struct cpufreq_policy *policy) | |||
191 | policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency; | 191 | policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency; |
192 | policy->cur = spear_cpufreq_get(0); | 192 | policy->cur = spear_cpufreq_get(0); |
193 | 193 | ||
194 | cpumask_copy(policy->cpus, topology_core_cpumask(policy->cpu)); | 194 | cpumask_setall(policy->cpus); |
195 | 195 | ||
196 | return 0; | 196 | return 0; |
197 | } | 197 | } |