basic: non_plat: Allow communication between mtk_hal_power and hal_power_default

Change-Id: I1c9f879ca89702e32a912c4e4a147365b718ed22
This commit is contained in:
Woomymy 2023-08-18 22:16:15 +01:00 committed by bengris32
parent 0f211dd090
commit 9817fe434d
No known key found for this signature in database
GPG Key ID: 5C798EC5589ED9BF

View File

@ -11,6 +11,9 @@ init_daemon_domain(mtk_hal_power)
hal_server_domain(mtk_hal_power, hal_power)
hal_server_domain(mtk_hal_power, hal_wifi)
# Allow mtkpower stub service to call powerhal
binder_call(mtk_hal_power, hal_power_default)
# sysfs
allow mtk_hal_power sysfs_devices_system_cpu:file rw_file_perms;
allow mtk_hal_power sysfs_mtk_core_ctl:dir r_dir_perms;