thermal: change permission for usbc related thermal sysfs

Bug: 183573049
Test: check permission for usbc related thermal sysfs
Change-Id: Id5af18d9f0fc5acfe29d9b5be3f3beabaa36f480
This commit is contained in:
TeYuan Wang 2021-07-20 22:08:04 +08:00 committed by TreeHugger Robot
parent 0facd0130b
commit cf33914f6c

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