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 <rchandrasekar@google.com>
This commit is contained in:
Ram Chandrasekar 2024-05-02 10:58:06 -06:00 committed by Peter (YM)
parent ce5d8d3c0e
commit ac715ab11d

View file

@ -770,6 +770,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/wlc_fcc/cur_state
chown system system /dev/thermal/cdev-by-name/chg_mdis/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/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 on charger
# Use charger thermal config # Use charger thermal config