[PATCH] ARM: tegra: cpufreq: move clk_get/put out of function tegra_cpu_init/exit
From: Stephen Warren <hidden>
Date: 2012-12-21 21:27:43
Also in:
linux-tegra
From: Stephen Warren <hidden>
Date: 2012-12-21 21:27:43
Also in:
linux-tegra
On 12/21/2012 03:09 AM, Richard Zhao wrote:
tegra_cpu_init/exit will be called every time one cpu core is online or offline. And all cpu cores share same clocks, redundant clk_get/put wast time, so I move them out.
I think this is reasonable. Prashant, Peter, any comments? Is any other work in tegra_cpu_init() redundant? Is tegra_cpu_init() supposed to be called due to hotplug, or is that a bug in the cpufreq core?