diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2012-01-24 23:45:13 -0500 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2012-02-29 22:24:38 -0500 |
commit | 60d2725dbc7c1b2984920f9f0685b9459760b859 (patch) | |
tree | 1974cae1ad7fe81bab22a521b5e6ae676a9c8752 /drivers/cpufreq | |
parent | 7c8fb0411766849a332575673d0cc69ea571f031 (diff) |
[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 <tushar.behera@linaro.org>
Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | 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 5467879ea07d..7cfb51643555 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) | |||
210 | 210 | ||
211 | cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu); | 211 | cpufreq_frequency_table_get_attr(exynos_info->freq_table, policy->cpu); |
212 | 212 | ||
213 | locking_frequency = exynos_getspeed(0); | ||
214 | |||
213 | /* set the transition latency value */ | 215 | /* set the transition latency value */ |
214 | policy->cpuinfo.transition_latency = 100000; | 216 | policy->cpuinfo.transition_latency = 100000; |
215 | 217 | ||