thermal: change permission for usbc related thermal sysfs am: 569878efa9

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

Change-Id: I49700b9502ed96e732702894d935d1c4ab6a21c7
This commit is contained in:
TeYuan Wang 2021-07-21 00:08:53 +00:00 committed by Automerger Merge Worker
commit 3108c49449

View file

@ -859,6 +859,8 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/neutral_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/usb_pwr_therm2/trip_point_0_hyst
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-0/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-1/user_vote
chown system system /dev/thermal/cdev-by-name/thermal-cpufreq-2/user_vote
@ -866,6 +868,7 @@ on property:vendor.thermal.link_ready=1
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
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/usbc-port/cur_state
on property:vendor.disable.bcl.control=1
write /sys/devices/virtual/pmic/mitigation/instruction/enable_mitigation 0