aboutsummaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
diff options
context:
space:
mode:
authorGiulio Cervera <giulio.cervera@cyanogenmod.org>2014-10-08 08:02:06 +0200
committerChirayu Desai <cdesai@cyanogenmod.org>2014-10-08 06:19:01 +0000
commit0334399d98433bbb43bc4a896b039a05614bc28f (patch)
tree214051ef5712956159443095f96baa63cd1687d9 /rootdir/init.qcom.rc
parenta42a04e6dc3920eda19d2cb50041c15ed3d00f4c (diff)
cmhw: Add AdaptiveBacklight support
Change-Id: I3406700fb51f3462fa3e0c7cb92344b79424f7ef
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r--rootdir/init.qcom.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index ec10735..9de8fee 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -191,6 +191,10 @@ on boot
chmod 400 /sys/class/graphics/fb1/msm_fb_fps_level
chmod 400 /sys/class/graphics/fb2/msm_fb_fps_level
+ # Adaptive backlight
+ chown system system /sys/devices/mdss_dsi_panel/cabc
+ chmod 0660 /sys/devices/mdss_dsi_panel/cabc
+
# For bridgemgr daemon to inform the USB driver of the correct transport
chown radio radio /sys/class/android_usb/f_rmnet_smd_sdio/transport