Skip to content

Commit

Permalink
[CPUFREQ] EXYNOS: Initialize locking_frequency with initial frequency
Browse files Browse the repository at this point in the history
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.
- a125a17 ([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>
  • Loading branch information
Tushar Behera authored and Dave Jones committed Mar 1, 2012
1 parent 7c8fb04 commit 60d2725
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/cpufreq/exynos-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 60d2725

Please sign in to comment.