|
@@ -246,8 +246,6 @@ 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;
|
|
|
|
|
@@ -325,6 +323,8 @@ static int __init exynos_cpufreq_init(void)
|
|
|
goto err_vdd_arm;
|
|
|
}
|
|
|
|
|
|
+ locking_frequency = exynos_getspeed(0);
|
|
|
+
|
|
|
register_pm_notifier(&exynos_cpufreq_nb);
|
|
|
|
|
|
if (cpufreq_register_driver(&exynos_driver)) {
|