mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
dsp: fix issue with MDF shared memory access in CDSP for QCS403
SMMU is not enabled on CDSP and shared memory to CDSP doesn't need SID. Default SID from audio ION was being added in 32bit builds. Avoid adding default SID for MDF shared memory for CDSP. Change-Id: I5e35396fc90071f96e1042c5e08eafe4226c240b Signed-off-by: Mangesh Kunchamwar <mangeshk@codeaurora.org>
This commit is contained in:
parent
408ba7c759
commit
1face6aa6d
1 changed files with 1 additions and 2 deletions
|
|
@ -1209,8 +1209,7 @@ int q6core_map_mdf_shared_memory(uint32_t map_handle, uint64_t *buf_add,
|
|||
|
||||
for (i = 0; i < bufcnt; i++) {
|
||||
mregions->shm_addr_lsw = lower_32_bits(buf_add[i]);
|
||||
mregions->shm_addr_msw =
|
||||
msm_audio_populate_upper_32_bits(buf_add[i]);
|
||||
mregions->shm_addr_msw = upper_32_bits(buf_add[i]);
|
||||
mregions->mem_size_bytes = bufsz[i];
|
||||
++mregions;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue