Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 24517
b: refs/heads/master
c: 7c9d8c0
h: refs/heads/master
i:
  24515: 47f415b
v: v3
  • Loading branch information
Dominik Brodowski committed Mar 26, 2006
1 parent 61a4fb9 commit 68d9669
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 9cbad61b41f0b6f0a4c600fe96d8292ffd592b50
refs/heads/master: 7c9d8c0e84d395a01289ebd1597758939a875a86
3 changes: 3 additions & 0 deletions trunk/drivers/cpufreq/cpufreq_ondemand.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,9 @@ static void dbs_check_cpu(int cpu)
freq_next = (freq_next * policy->cur) /
(dbs_tuners_ins.up_threshold - 10);

if (freq_next < policy->min)
freq_next = policy->min;

if (freq_next <= ((policy->cur * 95) / 100))
__cpufreq_driver_target(policy, freq_next, CPUFREQ_RELATION_L);
}
Expand Down

0 comments on commit 68d9669

Please sign in to comment.