thermal: provide permission for user space request TPU throttling

Bug: 188701596
Test: ls -al dev/thermal/cdev-by-name/tpu_cooling/user_vote
Change-Id: I8a53b118b2e8e51603554c5fbb8a085d47422918
This commit is contained in:
TeYuan Wang 2021-08-06 15:13:58 +08:00 committed by TreeHugger Robot
parent 7742985632
commit cc9cd89806

View file

@ -897,6 +897,7 @@ on property:vendor.thermal.link_ready=1
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
chown system system /dev/thermal/cdev-by-name/thermal-gpufreq-0/user_vote
chown system system /dev/thermal/cdev-by-name/tpu_cooling/user_vote
chown system system /dev/thermal/cdev-by-name/fcc/cur_state
chown system system /dev/thermal/cdev-by-name/dc_icl/cur_state
chown system system /dev/thermal/cdev-by-name/wlc_fcc/cur_state