summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorAditya Bavanari <abavanar@codeaurora.org>2018-06-19 17:50:52 +0530
committerAditya Bavanari <abavanar@codeaurora.org>2018-06-19 17:50:52 +0530
commit04708e34ee78a982ea21038ada314e08ce89b039 (patch)
tree1394aa244050c12a2ceaf9b19692ea5c78c9d33c /sound/soc
parent753ed36d6af3e312d3f0aff67a89786a8190b110 (diff)
ASoC: msm: qdsp6v2: Fix rtac memory unmap issue in ASM driver
During unmap of rtac block in ASM, mem_map_handle address is set to zero instead of the value. Set the map handle value to zero to avoid issue in freeing the ion memory. CRs-Fixed: 2254339 Change-Id: I6584be029d4c8dde235e722149c758df0db9916e Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/msm/qdsp6v2/q6asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/msm/qdsp6v2/q6asm.c b/sound/soc/msm/qdsp6v2/q6asm.c
index 9d3fa1afeb6d..0ad15e90bfc6 100644
--- a/sound/soc/msm/qdsp6v2/q6asm.c
+++ b/sound/soc/msm/qdsp6v2/q6asm.c
@@ -1086,7 +1086,7 @@ int q6asm_unmap_rtac_block(uint32_t *mem_map_handle)
__func__, result2);
result = result2;
} else {
- mem_map_handle = 0;
+ *mem_map_handle = 0;
}
result2 = q6asm_mmap_apr_dereg();