cpufreq.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] EXYNOS: Initialize locking_frequency with initial frequency
@ 2012-01-25  4:45 Tushar Behera
  2012-02-01 11:08 ` Tushar Behera
  0 siblings, 1 reply; 5+ messages in thread
From: Tushar Behera @ 2012-01-25  4:45 UTC (permalink / raw)
  To: cpufreq, linux-samsung-soc; +Cc: davej, jc.lee, myungjoo.ham

As per definition, locking_frequency is the initial frequency which is
set by boot-loader. Hence the value is updated with the initial value
during boot time init call.

This code was present in exynos210-cpufreq.c before this consolidation
patch.
- a125a17fa61a ([CPUFREQ] EXYNOS: Make EXYNOS common cpufreq driver).

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
---
The patch is based on v3.3-rc1.

 drivers/cpufreq/exynos-cpufreq.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/cpufreq/exynos-cpufreq.c b/drivers/cpufreq/exynos-cpufreq.c
index 5467879..7cfb516 100644
--- a/drivers/cpufreq/exynos-cpufreq.c
+++ b/drivers/cpufreq/exynos-cpufreq.c
@@ -210,6 +210,8 @@ static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy)
 
 	cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu);
 
+	locking_frequency = exynos_getspeed(0);
+
 	/* set the transition latency value */
 	policy->cpuinfo.transition_latency = 100000;
 
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-02-13 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-25  4:45 [PATCH] EXYNOS: Initialize locking_frequency with initial frequency Tushar Behera
2012-02-01 11:08 ` Tushar Behera
2012-02-09  4:42   ` [PATCH] [CPUFREQ] " Tushar Behera
2012-02-13  9:54     ` Tushar Behera
2012-02-13 14:35       ` [PATCH] " Dave Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).