Skip to content

Commit

Permalink
dvfslock_ctrl: Change CPU lock levels for overclock kernels
Browse files Browse the repository at this point in the history
On normal kernels, L0 = 1.2 GHz and L1 = 1.0 GHz.  On OC kernels, these are L2 and L3.

Boo at Samsung for putting architecture-specific stuff in kernel/power/main.c!

Signed-off-by:  Andrew Dodd <atd7@cornell.edu>
  • Loading branch information
Entropy512 committed Feb 16, 2012
1 parent 10defa4 commit e4e2387
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/power/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,9 @@ static ssize_t dvfslock_ctrl(const char *buf, size_t count)
return -EINVAL;

if (dlevel)
dlevel = CPU_L1;
dlevel = CPU_L3;
else
dlevel = CPU_L0;
dlevel = CPU_L2;

printk(KERN_DEBUG "%s: level = %d, time =%d\n", __func__, dlevel, dtime_msec);

Expand Down

0 comments on commit e4e2387

Please sign in to comment.