From a4745cb540562ae4cc18b82f3ca7aa039a8ebc94 Mon Sep 17 00:00:00 2001
From: Fenglin Wu <fenglinw@codeaurora.org>
Date: Tue, 13 Mar 2018 18:02:27 +0530
Subject: [PATCH] msm8953-common: Change hvdcp_opti service to system group

Drop hvdcp_opti service to system group and add wakelock group for it to
be able to access wake_lock sysfs.

Change-Id: I9a38114b1fcbc6ff21f53c3cd5be888d3a8ce4e7
---
 rootdir/init.target.rc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rootdir/init.target.rc b/rootdir/init.target.rc
index f9be0bd..4d10f5f 100644
--- a/rootdir/init.target.rc
+++ b/rootdir/init.target.rc
@@ -179,7 +179,7 @@ service energy-awareness /system/vendor/bin/energy-awareness
 service hvdcp_opti /system/vendor/bin/hvdcp_opti
     class main
     user root
-    group root
+    group system wakelock
 
 on charger
     write /sys/devices/system/cpu/cpu2/online 0
-- 
GitLab