ASoC: qcom: lpass-cpu: fix concurrency issue
authorRohit kumar <rohitkr@codeaurora.org>
Fri, 14 Aug 2020 10:53:02 +0000 (16:23 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 13:39:30 +0000 (14:39 +0100)
commit753a6e17942f6f425ca622e1610625998312ad89
tree5bb98b9e1f38d8b597fd85e33b29657457bbc36e
parentb5022a36d28f6a99c1a57f54246e8b566cf094d5
ASoC: qcom: lpass-cpu: fix concurrency issue

i2sctl register value is set to 0 during hw_free(). This
impacts any ongoing concurrent session on the same i2s
port. As trigger() stop already resets enable bit to 0,
there is no need of explicit hw_free. Removing it to
fix the issue.

Fixes: 80beab8e1d86 ("ASoC: qcom: Add LPASS CPU DAI driver")
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/1597402388-14112-7-git-send-email-rohitkr@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/lpass-cpu.c