diff --git a/dsp/q6asm.c b/dsp/q6asm.c index 38ddc88b0f24..0569d1572bec 100644 --- a/dsp/q6asm.c +++ b/dsp/q6asm.c @@ -952,7 +952,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();