From 25ce5a9c08e5e088f3a6dc1e703b9824f1bd472c Mon Sep 17 00:00:00 2001 From: Cathy Hsu Date: Thu, 2 May 2024 01:29:24 +0000 Subject: [PATCH] display: update ssc_en permission Bug: 316357878 Test: Dump ddic commands of "echo 1 > /sys/class/backlight/panel0-backlight/ssc_en" Change-Id: Iedbcc92562e06bc7a833a9a2884a13800f7a0d37 Signed-off-by: Cathy Hsu --- conf/init.tegu.rc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/init.tegu.rc b/conf/init.tegu.rc index df2cf28..c5ffcc6 100644 --- a/conf/init.tegu.rc +++ b/conf/init.tegu.rc @@ -8,6 +8,12 @@ on init # eSE streset tool name setprop persist.vendor.se.streset libstreset24 +# Permissions for display +on fs + # Permission for SSC mode enable + chown system system /sys/class/backlight/panel0-backlight/ssc_en + chmod 664 /sys/class/backlight/panel0-backlight/ssc_en + on early-boot # Wait for insmod_sh to finish all common modules wait_for_prop vendor.common.modules.ready 1