]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: qcom: lpass-cpu: fix concurrency issue
authorRohit kumar <rohitkr@codeaurora.org>
Fri, 14 Aug 2020 10:53:02 +0000 (16:23 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 Oct 2020 09:07:29 +0000 (10:07 +0100)
commit7d93d871e55be7caf57ccf498841e6963c10e830
treeb2770dbecb18e8e32eb3a91c897f172d89c4eb6b
parent41a33c66b6e646e2a2b9c134eb80be78375bc3ab
ASoC: qcom: lpass-cpu: fix concurrency issue

[ Upstream commit 753a6e17942f6f425ca622e1610625998312ad89 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/qcom/lpass-cpu.c