Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20262
b: refs/heads/master
c: a85f7bd
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Renninger authored and Dave Jones committed Feb 2, 2006
1 parent 126d021 commit 78b4211
Show file tree
Hide file tree
Showing 2 changed files with 8 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: 9d2725bb815d915fc6c8531097d9e71b579a8763
refs/heads/master: a85f7bd310dbc9010309bfe70b6b02432a11ef59
9 changes: 7 additions & 2 deletions trunk/drivers/cpufreq/cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,13 @@ int cpufreq_update_policy(unsigned int cpu)
-> ask driver for current freq and notify governors about a change */
if (cpufreq_driver->get) {
policy.cur = cpufreq_driver->get(cpu);
if (data->cur != policy.cur)
cpufreq_out_of_sync(cpu, data->cur, policy.cur);
if (!data->cur) {
dprintk("Driver did not initialize current freq");
data->cur = policy.cur;
} else {
if (data->cur != policy.cur)
cpufreq_out_of_sync(cpu, data->cur, policy.cur);
}
}

ret = __cpufreq_set_policy(data, &policy);
Expand Down

0 comments on commit 78b4211

Please sign in to comment.