]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: TEGRA: Set policy->cpus from driver->init()
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 1 Feb 2013 06:40:00 +0000 (06:40 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 2 Feb 2013 00:29:31 +0000 (01:29 +0100)
commitcbea4daa6440c8d442b9cf4cd283f94dd52d6e10
tree57196764f7c1ca8f5fceb28bc7d5f9e3f3ba53b1
parent2b897869e2d7d4bd080e9f9a578350829933f962
cpufreq: TEGRA: Set policy->cpus from driver->init()

For multicore SoC's, with cores sharing clock line, we are required to set
policy->cpus and policy->related_cpus with mask of cpus.

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 cpufreq core.

commit 4948b355e90080cd5ec1e91189f65a01e4186ef2
Author: Viresh Kumar <viresh.kumar@linaro.org>
Date:   Tue Jan 29 14:39:08 2013 +0000

    cpufreq: Simplify cpufreq_add_dev()

Current Tegra driver fills only ->related_cpus and not ->cpus, which looks to be
incorrect. Lets fix it.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-tegra/cpu-tegra.c