aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu J. Poirier <mathieu.poirier@linaro.org>2013-04-10 09:20:22 -0600
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-05-25 13:30:06 +0400
commit0c571502a47f74fe696aa0a65493803c2a1e1703 (patch)
tree3e66278c147c73ddff793a8c6dfb189582b8d54a
parent8f7f94549bb64c808d7388cc0a4ea2df0a4f55c5 (diff)
downloadvexpress-lsk-0c571502a47f74fe696aa0a65493803c2a1e1703.tar.gz
cpufreq: arm_big_little: Allow cleanup routine to run for all clusters
When not operating in IKS mode 'clk' and 'freq_table' should be cleaned for all present clusters, something the 'return' statement was preventing. Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
-rw-r--r--drivers/cpufreq/arm_big_little.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/arm_big_little.c b/drivers/cpufreq/arm_big_little.c
index 045ed1c6a0c..526c1e9d91d 100644
--- a/drivers/cpufreq/arm_big_little.c
+++ b/drivers/cpufreq/arm_big_little.c
@@ -352,7 +352,7 @@ static void put_cluster_clk_and_freq_table(u32 cluster)
return;
for (i = 0; i < MAX_CLUSTERS; i++)
- return _put_cluster_clk_and_freq_table(i);
+ _put_cluster_clk_and_freq_table(i);
}
static int _get_cluster_clk_and_freq_table(u32 cluster)
@@ -582,7 +582,7 @@ void bL_cpufreq_unregister(struct cpufreq_arm_bL_ops *ops)
int i;
for (i = 0; i < MAX_CLUSTERS; i++)
- return put_cluster_clk_and_freq_table(i);
+ put_cluster_clk_and_freq_table(i);
}
arm_bL_ops = NULL;