From 1aa050c98e3e4141c90cfbe9c1f949d43311d129 Mon Sep 17 00:00:00 2001 From: Rohit Gupta Date: Mon, 15 Apr 2013 18:03:12 -0700 Subject: [PATCH] Modifying sync_freq and optimal_freq for 8974 v2 Initializing the sync_freq_value to 1.1 GHz in sysfs in accordance with the new frequency table available for 8974 v2. Also correcting the value of optimal_freq from 918000 (not available on this device) to 960000. Change-Id: I2a69b6afbf924536fb57ac21fa39fb880d0ebb0c --- rootdir/etc/init.qcom.post_boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 6d616465..b1b14f70 100755 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -279,8 +279,8 @@ case "$target" in echo 10 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential echo 70 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_multi_core echo 3 > /sys/devices/system/cpu/cpufreq/ondemand/down_differential_multi_core - echo 918000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq - echo 1026000 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq + echo 960000 > /sys/devices/system/cpu/cpufreq/ondemand/optimal_freq + echo 1190400 > /sys/devices/system/cpu/cpufreq/ondemand/sync_freq echo 80 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold_any_cpu_load echo 300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq echo 300000 > /sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq