[ALPS04237702] Audio: Add permission for audio scp device
Add permission for audio scp device, instead of only SCP SmartPA. MTK-Commit-Id: 479293f8195469648aba65860920128fe85fa3f0 Change-Id: Ic33320ae0c8f36217da2aae0afba763609608af3 CR-Id: ALPS04237702 Feature: DSP SmartPA (cherry picked from commit 1dfd94a4058c3d960539066bfe61d5032ca95c9d)
This commit is contained in:
parent
197aeeb5d1
commit
25fb796fea
@ -161,6 +161,7 @@ type mdlog_device, dev_type;
|
||||
type md32_device, dev_type;
|
||||
type scp_device, dev_type;
|
||||
type adsp_device, dev_type;
|
||||
type audio_scp_device, dev_type;
|
||||
type sspm_device, dev_type;
|
||||
type etb_device, dev_type;
|
||||
type MT_pmic_adc_cali_device, dev_type;
|
||||
|
@ -328,6 +328,7 @@
|
||||
/dev/ancservice(/.*)? u:object_r:ancservice_device:s0
|
||||
/dev/offloadservice(/.*)? u:object_r:offloadservice_device:s0
|
||||
/dev/audio_ipi(/.*)? u:object_r:audio_ipi_device:s0
|
||||
/dev/audio_scp(/.*)? u:object_r:audio_scp_device:s0
|
||||
/dev/irtx u:object_r:irtx_device:s0
|
||||
/dev/spm(/.*)? u:object_r:spm_device:s0
|
||||
/dev/xt_qtaguid(/.*)? u:object_r:xt_qtaguid_device:s0
|
||||
|
@ -218,6 +218,7 @@ binder_call(mtk_hal_audio, mtk_hal_power)
|
||||
binder_call(mtk_hal_audio, merged_hal_service)
|
||||
# cm4 smartpa
|
||||
allow mtk_hal_audio audio_ipi_device:chr_file { read write ioctl open };
|
||||
allow mtk_hal_audio audio_scp_device:chr_file r_file_perms;
|
||||
|
||||
# Date : WK18.21
|
||||
# Operation: P migration
|
||||
|
Loading…
x
Reference in New Issue
Block a user