summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTodd Poynor <toddpoynor@google.com>2011-10-29 02:16:07 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2011-10-29 02:16:07 +0000
commitd1a4d1af34b94954581e68bcf6cc721f4bc3d81a (patch)
treeb30d69b77dee40f4bae83d5d997f73dc1f92daf5
parent6fcb26db7449505a6f2b47c3377e5740a4c44224 (diff)
parent1ce41e35a04c9bd38b237ba80bca3af92b06285b (diff)
downloaddevice_samsung_tuna-d1a4d1af34b94954581e68bcf6cc721f4bc3d81a.zip
device_samsung_tuna-d1a4d1af34b94954581e68bcf6cc721f4bc3d81a.tar.gz
device_samsung_tuna-d1a4d1af34b94954581e68bcf6cc721f4bc3d81a.tar.bz2
am 1ce41e35: Merge "tuna: interactive governor timer 100ms, min sample 10ms" into ics-mr0
* commit '1ce41e35a04c9bd38b237ba80bca3af92b06285b': 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