mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 15:48:22 +00:00
thermal: modify permissions for usbc-port state change
Allow system components to change usbc-port cooling device state. Bug: 222577017 Test: Build and boot on device Signed-off-by: Sayanna Chandula <sayanna@google.com> Change-Id: Ib7e86d95a73086acd295a7ab2fbc76a3fa5f990a
This commit is contained in:
@@ -962,6 +962,7 @@ on property:vendor.thermal.link_ready=1
|
||||
chown system system /dev/thermal/cdev-by-name/dc_icl/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/usbc-port/cur_state
|
||||
|
||||
on property:vendor.disable.bcl.control=1
|
||||
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0
|
||||
|
||||
Reference in New Issue
Block a user