OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
753ed36
)
ASoC: msm: qdsp6v2: Fix rtac memory unmap issue in ASM driver
author
Aditya Bavanari
<abavanar@codeaurora.org>
Tue, 19 Jun 2018 12:20:52 +0000
(17:50 +0530)
committer
Aditya Bavanari
<abavanar@codeaurora.org>
Tue, 19 Jun 2018 12:20:52 +0000
(17:50 +0530)
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>
sound/soc/msm/qdsp6v2/q6asm.c
patch
|
blob
|
history
diff --git
a/sound/soc/msm/qdsp6v2/q6asm.c
b/sound/soc/msm/qdsp6v2/q6asm.c
index
9d3fa1a
..
0ad15e9
100644
(file)
--- 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();