Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211450
b: refs/heads/master
c: d24a9da
h: refs/heads/master
v: v3
  • Loading branch information
Matthew Garrett committed Oct 5, 2010
1 parent 02c5379 commit becd469
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 96f3823f537088c13735cfdfbf284436c802352a
refs/heads/master: d24a9da573444ab4aff38af2f4a0da07408ff491
2 changes: 1 addition & 1 deletion trunk/drivers/platform/x86/intel_ips.c
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ static void ips_cpu_lower(struct ips_driver *ips)
new_limit = cur_limit - 8; /* 1W decrease */

/* Clamp to SKU TDP limit */
if (((new_limit * 10) / 8) < (ips->orig_turbo_limit & TURBO_TDP_MASK))
if (new_limit < (ips->orig_turbo_limit & TURBO_TDP_MASK))
new_limit = ips->orig_turbo_limit & TURBO_TDP_MASK;

thm_writew(THM_MPCPC, (new_limit * 10) / 8);
Expand Down

0 comments on commit becd469

Please sign in to comment.