From c164ec40d22e28f2087e5d76c5146b82752434d7 Mon Sep 17 00:00:00 2001 From: Jikai Ma Date: Tue, 7 Nov 2023 06:35:15 +0000 Subject: [PATCH] thermal: update access permissions for rfpa therm allow ThermalHAL to overwrite trip point of rfpa_therm Bug: 296476775 Test: adb shell ls -al dev/thermal/tz-by-name/rfpa_therm/trip_point_* to validate permissions Change-Id: Ib74e21d1c18f4e59f10cea3b52473e6935deed33 --- conf/init.zumapro.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/init.zumapro.rc b/conf/init.zumapro.rc index 84ff868..437503d 100644 --- a/conf/init.zumapro.rc +++ b/conf/init.zumapro.rc @@ -925,6 +925,8 @@ on property:vendor.thermal.link_ready=1 chown system system /dev/thermal/tz-by-name/usb_conn_therm/trip_point_0_hyst chown system system /dev/thermal/tz-by-name/btmspkr_therm/trip_point_0_temp chown system system /dev/thermal/tz-by-name/btmspkr_therm/trip_point_0_hyst + chown system system /dev/thermal/tz-by-name/rfpa_therm/trip_point_0_temp + chown system system /dev/thermal/tz-by-name/rfpa_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