Commit Graph

3 Commits

Author SHA1 Message Date
Mitchel Humpherys 61b82c2113 ion: msm: remove superfluous function argument
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>
2014-05-27 15:28:48 -07:00
Fred Oh 8f716a7454 ASoC: msm: Add IOMMU for msm8x10
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>
2013-09-04 16:32:26 -07:00
Fred Oh 88e5a85a1b msm: audio: Add audio Ion wrapper
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>
2013-09-04 16:17:46 -07:00