From 9b3cba3ba803c438f329df80d7bec0a7040aa2b6 Mon Sep 17 00:00:00 2001 From: TeYuan Wang Date: Mon, 20 Jul 2020 16:56:57 +0800 Subject: [PATCH] thermal: chown usbc-virt-monitor for thermalhal to update trip point Bug: 147861290 Test: thermalhal will not always polling thermal sensors every 2s Change-Id: I65d5654ca0d74450450896d3b2487ca3e56e62cc Signed-off-by: TeYuan Wang --- redfin/init.redfin.rc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/redfin/init.redfin.rc b/redfin/init.redfin.rc index be8cdff..f87e872 100644 --- a/redfin/init.redfin.rc +++ b/redfin/init.redfin.rc @@ -43,3 +43,5 @@ on property:sys.retaildemo.enabled=0 on late-init chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_temp chown system system /sys/devices/virtual/thermal/tz-by-name/panel-audio-therm/trip_point_0_hyst + chown system system /sys/devices/virtual/thermal/tz-by-name/usbc-virt-monitor/trip_point_0_temp + chown system system /sys/devices/virtual/thermal/tz-by-name/usbc-virt-monitor/trip_point_0_hyst