thermal: allow system to overwrite the usb_pwr_therm's trip point

Bug: 222577017
Test: ls -al /dev/thermal/tz-by-name/usb_pwr_therm/
Change-Id: Ic7807bb67808a55e56ae65367729d083df672225
This commit is contained in:
TeYuan Wang 2022-05-24 13:19:34 +08:00 committed by Wei Wang
parent 29d037bc02
commit 879b29aea1

View file

@ -959,6 +959,8 @@ on property:vendor.thermal.link_ready=1
# Thermal
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/quiet_therm/trip_point_0_hyst
chown system system /dev/thermal/tz-by-name/usb_pwr_therm/trip_point_0_temp
chown system system /dev/thermal/tz-by-name/usb_pwr_therm/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