From 8328b858487bed47dd218af114c8bc83d3f251d1 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Mon, 9 Feb 2026 07:42:04 -0500 Subject: [PATCH] ASoC: qcom: qdsp6: q6asm-dai: Keep stream marked running on stop The stream will be marked stopped after emitting end-of-stream. When q6asm_dai_prepare is called while stopped, it is assumed that there is no memory region mapped with different parameters. Keep the stream marked as running so the prepare callback resets the memory regions. Signed-off-by: Richard Acayan --- sound/soc/qcom/qdsp6/q6asm-dai.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/qcom/qdsp6/q6asm-dai.c b/sound/soc/qcom/qdsp6/q6asm-dai.c index 0eae8c6e42b8..41572f8027a9 100644 --- a/sound/soc/qcom/qdsp6/q6asm-dai.c +++ b/sound/soc/qcom/qdsp6/q6asm-dai.c @@ -326,7 +326,7 @@ static int q6asm_dai_trigger(struct snd_soc_component *component, 0, 0, 0); break; case SNDRV_PCM_TRIGGER_STOP: - prtd->state = Q6ASM_STREAM_STOPPED; + // prtd->state = Q6ASM_STREAM_STOPPED; ret = q6asm_cmd_nowait(prtd->audio_client, prtd->stream_id, CMD_EOS); break; -- 2.53.0