Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 156822
b: refs/heads/master
c: 60c45ae
h: refs/heads/master
v: v3
  • Loading branch information
Eero Nurkkala authored and Kevin Hilman committed Aug 5, 2009
1 parent 062f1dc commit 9a111d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: bcf396c48012a5e4c7ab77be5c40df10d6bdb8ad
refs/heads/master: 60c45ae1107c4ec47d2c84e5984ea59d02b2863d
8 changes: 4 additions & 4 deletions trunk/arch/arm/plat-omap/cpu-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ static int omap_target(struct cpufreq_policy *policy,

/* Ensure desired rate is within allowed range. Some govenors
* (ondemand) will just pass target_freq=0 to get the minimum. */
if (target_freq < policy->cpuinfo.min_freq)
target_freq = policy->cpuinfo.min_freq;
if (target_freq > policy->cpuinfo.max_freq)
target_freq = policy->cpuinfo.max_freq;
if (target_freq < policy->min)
target_freq = policy->min;
if (target_freq > policy->max)
target_freq = policy->max;

freqs.old = omap_getspeed(0);
freqs.new = clk_round_rate(mpu_clk, target_freq * 1000) / 1000;
Expand Down

0 comments on commit 9a111d3

Please sign in to comment.