ASoC: msm: qdsp6: making flush call as synchronous
Making flush call as synchronous, it responds to user only when it receives acknowledgement from LPASS or maximum wait time out. Change-Id: I1c743cc3f2a11934dc5c15323ac4cadfd7e5f210 Signed-off-by: Jaiju Yesudasan <cjaijuy@codeaurora.org>
This commit is contained in:
parent
692c3477ae
commit
137dd6b567
|
@ -4231,6 +4231,7 @@ int q6asm_cmd(struct audio_client *ac, int cmd)
|
|||
case CMD_FLUSH:
|
||||
pr_debug("%s:CMD_FLUSH\n", __func__);
|
||||
hdr.opcode = ASM_STREAM_CMD_FLUSH;
|
||||
atomic_set(&ac->cmd_close_state, 1);
|
||||
state = &ac->cmd_state;
|
||||
break;
|
||||
case CMD_OUT_FLUSH:
|
||||
|
|
Loading…
Reference in New Issue