From fbc7272d5a8a2dad06db9ac1ae21264223127c55 Mon Sep 17 00:00:00 2001 From: Daniel Klaffenbach Date: Mon, 8 Nov 2010 14:17:46 +0100 Subject: [PATCH] Fix 600MHz issue on power kernels 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 2646c1a..518c7e1 100644 --- 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(); -- 1.7.9.5