projects
/
qcpufreq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9bea638
)
Fix 600MHz issue on power kernels
author
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Mon, 8 Nov 2010 13:17:46 +0000
(14:17 +0100)
committer
Daniel Klaffenbach
<danielklaffenbach@gmail.com>
Mon, 8 Nov 2010 13:17:46 +0000
(14:17 +0100)
In order to set max_freq to 600MHz we need to ask the kernel to use
599MHz as the new maximum frequency (only on power kernel).
src/mainwindow.cpp
patch
|
blob
|
history
diff --git
a/src/mainwindow.cpp
b/src/mainwindow.cpp
index
2646c1a
..
518c7e1
100644
(file)
--- a/
src/mainwindow.cpp
+++ b/
src/mainwindow.cpp
@@
-132,6
+132,12
@@
void MainWindow::adjustFreq()
}
#endif
+ //check for 599MHz <-> 600MHz problem on power kernels
+ if (max == "600000" && settings->usePowerKernel()) {
+ //we really need to set the maximum to 599MHz
+ max = "599000";
+ }
+
callHelper( "set_maxfreq", max );
refresh();