|
@@ -157,7 +157,9 @@ static int spear_cpufreq_target(struct cpufreq_policy *policy,
|
|
|
|
|
|
freqs.new = newfreq / 1000;
|
|
|
freqs.new /= mult;
|
|
|
- cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
|
|
|
+
|
|
|
+ for_each_cpu(freqs.cpu, policy->cpus)
|
|
|
+ cpufreq_notify_transition(&freqs, CPUFREQ_PRECHANGE);
|
|
|
|
|
|
if (mult == 2)
|
|
|
ret = spear1340_set_cpu_rate(srcclk, newfreq);
|
|
@@ -170,7 +172,8 @@ static int spear_cpufreq_target(struct cpufreq_policy *policy,
|
|
|
freqs.new = clk_get_rate(spear_cpufreq.clk) / 1000;
|
|
|
}
|
|
|
|
|
|
- cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
|
|
|
+ for_each_cpu(freqs.cpu, policy->cpus)
|
|
|
+ cpufreq_notify_transition(&freqs, CPUFREQ_POSTCHANGE);
|
|
|
return ret;
|
|
|
}
|
|
|
|