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

/dev/thermal/tz-by-name/skin_therm1 # ls -l
total 0
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_hyst
-rw-r--r-- 1 system system 4096 2022-06-06 13:41 trip_point_0_temp

Bug: 233972622
Test: ls -al /dev/thermal/tz-by-name/skin_therm1/
Change-Id: I347c645c7ce23e6e26ea7ef20db9d6f0a66b6498
This commit is contained in:
David Chao 2022-06-06 15:07:38 +08:00
parent 6799446b7b
commit 2b483be348

View file

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