mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
ASoC: q6dsp: q6apm: add end of stream events
EOS event from dsp is currently not sent to the dai drivers, add the missing callback. Signed-off-by: Mohammad Rafi Shaik <quic_mohs@quicinc.com> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230619101653.9750-3-srinivas.kandagatla@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
5b7e984e22
commit
9d11a5431c
@@ -497,6 +497,9 @@ static int graph_callback(struct gpr_resp_pkt *data, void *priv, int op)
|
||||
}
|
||||
break;
|
||||
case DATA_CMD_WR_SH_MEM_EP_EOS_RENDERED:
|
||||
client_event = APM_CLIENT_EVENT_CMD_EOS_DONE;
|
||||
if (graph->cb)
|
||||
graph->cb(client_event, hdr->token, data->payload, graph->priv);
|
||||
break;
|
||||
case GPR_BASIC_RSP_RESULT:
|
||||
switch (result->opcode) {
|
||||
|
||||
Reference in New Issue
Block a user