From 938a1692d5d7a7eea26c978e732bd4855f58ee27 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Wed, 13 Jul 2022 10:06:33 +0800 Subject: [PATCH] thermal: allow system to overwrite the usb_pwr_therm2's trip point Bug: 233003074 Test: ls -al /dev/thermal/tz-by-name/usb_pwr_therm2/ Change-Id: I2ac803d455ebd7240bedf70bbcf98ef3c9e1d8c3 --- conf/init.gs201.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index 60f2ab11..7557ac90 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -948,6 +948,8 @@ on property:vendor.thermal.link_ready=1 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_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/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