From: Tushar Behera Date: Wed, 25 Jan 2012 04:45:13 +0000 (+0530) Subject: [CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency X-Git-Tag: v3.4-rc1~101^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60d2725dbc7c1b2984920f9f0685b9459760b859;p=profile%2Fivi%2Fkernel-x86-ivi.git [CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency 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 Signed-off-by: Inderpal Singh Signed-off-by: Dave Jones --- 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;