Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351031
b: refs/heads/master
c: 6f35a65
h: refs/heads/master
i:
  351029: 12a0cbb
  351027: 812d61a
  351023: a254596
v: v3
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Feb 1, 2013
1 parent d5683cb commit e2d72f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 951fc5f45836988c7df1d05c7f4658f331e7a920
refs/heads/master: 6f35a65fbb570086428596d907df6300abffd948
7 changes: 5 additions & 2 deletions trunk/drivers/cpufreq/spear-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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;
}

Expand Down

0 comments on commit e2d72f5

Please sign in to comment.