From 2b483be348fec6efbadbcb3817d717510092ca24 Mon Sep 17 00:00:00 2001 From: David Chao Date: Mon, 6 Jun 2022 15:07:38 +0800 Subject: [PATCH] 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 --- conf/init.gs201.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/init.gs201.rc b/conf/init.gs201.rc index db36f369..066ba4a6 100644 --- a/conf/init.gs201.rc +++ b/conf/init.gs201.rc @@ -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