Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 253778
b: refs/heads/master
c: fbb5b89
h: refs/heads/master
v: v3
  • Loading branch information
Konrad Rzeszutek Wilk authored and Dave Jones committed Jun 16, 2011
1 parent ed431bb commit 6221b77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: a9d3d2068064b7a6395871a49616d3784f802d50
refs/heads/master: fbb5b89eabea5ae7d621b7861863159560d8faa4
3 changes: 2 additions & 1 deletion trunk/drivers/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@ static int transition_frequency_pstate(struct powernow_k8_data *data,
/* get MSR index for hardware pstate transition */
pstate = index & HW_PSTATE_MASK;
if (pstate > data->max_hw_pstate)
return 0;
return -EINVAL;

freqs.old = find_khz_freq_from_pstate(data->powernow_table,
data->currpstate);
freqs.new = find_khz_freq_from_pstate(data->powernow_table, pstate);
Expand Down

0 comments on commit 6221b77

Please sign in to comment.