aboutsummaryrefslogtreecommitdiff
path: root/drivers/clk/versatile
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2012-12-14 08:04:07 +0530
committerJon Medhurst <tixy@linaro.org>2013-07-19 13:43:15 +0100
commitcd29031261277b51cc8fc77f7006a1b149cd224f (patch)
tree44235b43a80fc7dffced40efe3d92e13591b7447 /drivers/clk/versatile
parentcfcdfd05b559b2682546a56ac91219a838441bf7 (diff)
downloadvexpress-lsk-cd29031261277b51cc8fc77f7006a1b149cd224f.tar.gz
cpufreq: arm_big_little: Don't destroy/create freq table/clk for every cpu on/off
When a cpu goes down, exit would be called for it. Similarly for every cpu up init would be called. This would result in same freq table and clk structure to get freed/allocated again. There is no way for freq table/clk structures to change between these calls. Also, when we disable switcher, firstly cpufreq unregister would be called and hence exit for all cpus and then register would be called, i.e. init would be called. For saving time/energy for both cases, lets not free table/clk until module exit is not done. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/clk/versatile')
0 files changed, 0 insertions, 0 deletions