summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2012-09-25 11:53:07 -0400
committerGerrit Code Review <gerrit@review.cyanogenmod.com>2012-09-25 11:53:07 -0400
commit5e3a9016c150fac61e8d6321ab9592c2bb11fd53 (patch)
tree6cc822c98814f1f9064de97290c76d02f1d18450
parentf2017f53daf64aaa84887514534ee623c41b880c (diff)
parentb2668817cf591d94452e6ae5974a05a718ef8469 (diff)
downloaddevice_samsung_aries-common-5e3a9016c150fac61e8d6321ab9592c2bb11fd53.zip
device_samsung_aries-common-5e3a9016c150fac61e8d6321ab9592c2bb11fd53.tar.gz
device_samsung_aries-common-5e3a9016c150fac61e8d6321ab9592c2bb11fd53.tar.bz2
Merge "aries-common: Add power HAL" into jellybean
-rw-r--r--device_base.mk1
-rw-r--r--init.aries.rc3
2 files changed, 4 insertions, 0 deletions
diff --git a/device_base.mk b/device_base.mk
index 3ef9e76..18f111c 100644
--- a/device_base.mk
+++ b/device_base.mk
@@ -96,6 +96,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
lights.aries \
sensors.aries \
+ power.s5pc110 \
hwcomposer.s5pc110 \
camera.aries \
audio.primary.aries \
diff --git a/init.aries.rc b/init.aries.rc
index c26eb9c..a935f38 100644
--- a/init.aries.rc
+++ b/init.aries.rc
@@ -80,6 +80,9 @@ on post-fs
chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
+# trigger governor change uevent
+ write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor ondemand
+
on post-fs-data
# wi-fi
mkdir /data/misc/wifi/sockets 0770 wifi wifi