]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ASoC: q6asm: handle EOS correctly
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 11 Jun 2020 12:41:53 +0000 (13:41 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jun 2020 14:58:16 +0000 (15:58 +0100)
commit6476b60f32866be49d05e2e0163f337374c55b06
tree6d22de890d7c4c5e4cb67c412708a74ace6295d9
parent4008b29eb47433c15ed3f242ee0132ba27dbdb67
ASoC: q6asm: handle EOS correctly

Successful send of EOS command does not indicate that EOS is actually
finished, correct event to wait EOS is finished is EOS_RENDERED event.
EOS_RENDERED means that the DSP has finished processing all the buffers
for that particular session and stream.

This patch fixes EOS handling!

Fixes: 68fd8480bb7b ("ASoC: qdsp6: q6asm: Add support to audio stream apis")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200611124159.20742-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm.c