Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336711
b: refs/heads/master
c: 5a1c022
h: refs/heads/master
i:
  336709: bb70251
  336707: ec549cb
  336703: 34d14e4
v: v3
  • Loading branch information
Viresh Kumar authored and Rafael J. Wysocki committed Nov 14, 2012
1 parent 7b524ee commit f5b9e7f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: da58445570326ac2a342770a9c9a2646276e1721
refs/heads/master: 5a1c022850ea5d64c2997bf9b89f5ae112d5ee4d
4 changes: 4 additions & 0 deletions trunk/drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1476,6 +1476,10 @@ int __cpufreq_driver_target(struct cpufreq_policy *policy,

pr_debug("target for CPU %u: %u kHz, relation %u\n", policy->cpu,
target_freq, relation);

if (target_freq == policy->cur)
return 0;

if (cpu_online(policy->cpu) && cpufreq_driver->target)
retval = cpufreq_driver->target(policy, target_freq, relation);

Expand Down

0 comments on commit f5b9e7f

Please sign in to comment.