ASoC: msm8960: Avoid the mutex access from event handler

Because q6asm_write use mutex to protect the shared data, this API
should not be called from event handler. Instead, calling
q6asm_write_nolock interface.

CRs-fixed: 298006
Signed-off-by: Jay Wang <jaywang@codeaurora.org>
diff --git a/include/sound/q6asm.h b/include/sound/q6asm.h
index 9c76942..e3507ee 100644
--- a/include/sound/q6asm.h
+++ b/include/sound/q6asm.h
@@ -186,6 +186,9 @@
 void *q6asm_is_cpu_buf_avail(int dir, struct audio_client *ac,
 				uint32_t *size, uint32_t *idx);
 
+void *q6asm_is_cpu_buf_avail_nolock(int dir, struct audio_client *ac,
+					uint32_t *size, uint32_t *idx);
+
 int q6asm_is_dsp_buf_avail(int dir, struct audio_client *ac);
 
 /* File format specific configurations to be added below */