The governor needs to be set to 'userspace' before setting the original frequency back.
This fixes cpufreq_06.sh that otherwise logs 'sh: echo: I/O error' messages in its log file.
Signed-off-by: Thierry Escande thierry.escande@linaro.org --- include/functions.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/include/functions.sh b/include/functions.sh index e9f66d1..77a8a27 100644 --- a/include/functions.sh +++ b/include/functions.sh @@ -412,6 +412,7 @@ restore_frequencies() { index=0
for cpu in $cpus; do + set_governor $cpu userspace oldfreq=$(eval echo $$freq_array$index) echo $oldfreq > $CPU_PATH/$cpu/cpufreq/scaling_setspeed index=$((index + 1))