From 221493aef08943bdf645aad15f372f721ed53da9 Mon Sep 17 00:00:00 2001 From: Ray Zhang Date: Tue, 2 Feb 2016 13:42:43 +0800 Subject: [PATCH] init: early_boot: Change user/group permission of autorefresh node HWC will access this sysfs node msm_cmd_autorefresh_en hence change the permission CRs-fixed: 970102 Change-Id: I0e5191f6398f7307a8a3146491ab4a80305418cc Signed-off-by: Ray Zhang --- rootdir/etc/init.qcom.early_boot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/rootdir/etc/init.qcom.early_boot.sh b/rootdir/etc/init.qcom.early_boot.sh index 1f3a8a80..65b09fe1 100644 --- a/rootdir/etc/init.qcom.early_boot.sh +++ b/rootdir/etc/init.qcom.early_boot.sh @@ -294,6 +294,7 @@ then set_perms $file/dyn_pu system.graphics 0664 set_perms $file/modes system.graphics 0664 set_perms $file/mode system.graphics 0664 + set_perms $file/msm_cmd_autorefresh_en system.graphics 0664 fi boot_reason=`cat /proc/sys/kernel/boot_reason`