[ALPS04525779] Thermal: modify permission for power hal

[Detail]
Modify change thermal policy permission for power hal.
Fix gaming change thermal policy via power hal fail issue.

MTK-Commit-Id: 5e5b22a7b90aae3740ba34c1dfba5c975fb37ebf

Change-Id: Ia0a9f5e1afaaad7a4c8e620c42fac6f38bcdd220
Signed-off-by: jerry-sc.wu <jerry-sc.wu@mediatek.com>
CR-Id: ALPS04525779
Feature: Thermal Management
This commit is contained in:
jerry-sc.wu 2020-01-18 10:18:54 +08:00 committed by Brian-SY Yang
parent 37d307c876
commit d53957c10d

View File

@ -90,6 +90,9 @@ allow mtk_hal_power debugfs_fb:file rw_file_perms;
allow mtk_hal_power proc_thermal:file r_file_perms; allow mtk_hal_power proc_thermal:file r_file_perms;
allow mtk_hal_power thermal_manager_data_file:file create_file_perms; allow mtk_hal_power thermal_manager_data_file:file create_file_perms;
allow mtk_hal_power thermal_manager_data_file:dir { rw_dir_perms setattr };
allow mtk_hal_power thermalloadalgod:unix_stream_socket connectto; allow mtk_hal_power thermalloadalgod:unix_stream_socket connectto;
allow mtk_hal_power proc_mtkcooler:dir r_dir_perms; allow mtk_hal_power proc_mtkcooler:dir r_dir_perms;