summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-10-31 12:26:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2011-10-31 12:26:28 +0000
commitb412f5a1c2a8ceb86d35a7d981fc933d4a9a6c4a (patch)
treeb78c46b21924589b80298131b98ad29595323456
parent83a04b9a8ac3530b4cd528b1a4bffef86834bd82 (diff)
parent425253c48809afc379ed65efd9d18cc2ff8889b6 (diff)
downloaddevice_samsung_tuna-b412f5a1c2a8ceb86d35a7d981fc933d4a9a6c4a.zip
device_samsung_tuna-b412f5a1c2a8ceb86d35a7d981fc933d4a9a6c4a.tar.gz
device_samsung_tuna-b412f5a1c2a8ceb86d35a7d981fc933d4a9a6c4a.tar.bz2
am d1a4d1af: am 1ce41e35: Merge "tuna: interactive governor timer 100ms, min sample 10ms" into ics-mr0
* commit '425253c48809afc379ed65efd9d18cc2ff8889b6': tuna: interactive governor timer 100ms, min sample 10ms
-rwxr-xr-xinit.tuna.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/init.tuna.rc b/init.tuna.rc
index 2dabb9d..980e964 100755
--- a/init.tuna.rc
+++ b/init.tuna.rc
@@ -41,6 +41,10 @@ on boot
# Lower maximum frequency when screen is off
write /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq 700000
+# cpufreq interactive governor: timer 100ms, min sample 10ms
+ write /sys/devices/system/cpu/cpufreq/interactive/timer_rate 100000
+ write /sys/devices/system/cpu/cpufreq/interactive/min_sample_time 10000
+
on fs
mkdir /factory 0775 radio radio
mount ext4 /dev/block/platform/omap/omap_hsmmc.0/by-name/system /system wait ro