From 650cc5eef766f4681b524f960cec5149babd0361 Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Thu, 2 May 2024 10:58:06 -0600 Subject: [PATCH] init: zumapro: update thermal uclamp cooling device owner Update the thermal uclamp cooling device cur_state owner to system. This will allow thermal-HAL to update any mitigation. Bug: 338150183 Test: Validate the node permission Change-Id: I8cd35b12442ab6a314d8c9b9375877dc62cd19b6 Signed-off-by: Ram Chandrasekar --- conf/init.zumapro.board.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.zumapro.board.rc b/conf/init.zumapro.board.rc index 43230ca..2dc0b16 100644 --- a/conf/init.zumapro.board.rc +++ b/conf/init.zumapro.board.rc @@ -768,6 +768,9 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state chown system system /dev/thermal/cdev-by-name/chg_mdis/cur_state chown system system /dev/thermal/cdev-by-name/usbc-port/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-0/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-4/cur_state + chown system system /dev/thermal/cdev-by-name/thermal-uclamp-7/cur_state on charger # Use charger thermal config