thermal: modify permissions for usbc-port state change am: 44d8473a94 am: 2bd0292f9d

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201/+/17606515

Change-Id: Ifd7a0d13e67545292af8bf223ddeda90318e34ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Sayanna Chandula 2022-04-12 22:50:55 +00:00 committed by Automerger Merge Worker
commit 5062ebf0a4

View file

@ -960,6 +960,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