msm_ion_client_create doesn't actually do anything with its heap_mask
parameter. Remove it. Also remove the extra argument from an audio
function that wraps msm_ion_client_create.
The following semantic patch was used to generate this patch:
@@
expression E1, E2;
@@
msm_ion_client_create(
- E1,
E2)
@@
expression E1, E2;
@@
msm_audio_ion_client_create(
- E1,
E2)
Change-Id: I403a125a1715b29a3db1f27c993abe0bc6d3fb11
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
MSM8x10 has IOMMU in LPASS. msm_audio_ion.c provide wrapper APIs
for ION fuctions. MMAP fuction should be used in this wrapper.
If audio heap is not available, it fall back to system heap.
Change-Id: I3abab96df14fde34f14b8a2f79c22aebca46511e
Signed-off-by: Fred Oh <fred@codeaurora.org>
Ion APIs are used differently based on SMMU presence. Audio Ion
wrapper provides uniform interfaces without exposing smmu presence.
Change-Id: I12d3b4847b12c0c8e5d08eb8179b550f10de2d3f
Signed-off-by: Fred Oh <fred@codeaurora.org>