提交 60d2725d 编写于 作者: T Tushar Behera 提交者: Dave Jones

[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.
- a125a17f ([CPUFREQ] EXYNOS: Make EXYNOS common cpufreq driver).
Signed-off-by: NTushar Behera <tushar.behera@linaro.org>
Signed-off-by: NInderpal Singh <inderpal.singh@linaro.org>
Signed-off-by: NDave Jones <davej@redhat.com>
上级 7c8fb041
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册