]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qcom: q6apm: do not close GPR port before closing graph
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 5 Jul 2023 13:18:42 +0000 (14:18 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jul 2023 06:50:37 +0000 (08:50 +0200)
commit6ede0d0f88655a4c6c2f9c2b4174031286a04ef9
treeb65576ad1b3756d46245106984e90318a8fed95a
parent5da98d0438bd1cbee90680e6233d682314e5df70
ASoC: qcom: q6apm: do not close GPR port before closing graph

[ Upstream commit c1be62923d4d86e7c06b1224626e27eb8d9ab32e ]

Closing GPR port before graph close can result in un handled notifications
from DSP, this results in spam of errors from GPR driver as there is no
one to handle these notification at that point in time.

Fix this by closing GPR port after graph close is finished.

Fixes: 5477518b8a0e ("ASoC: qdsp6: audioreach: add q6apm support")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230705131842.41584-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/qcom/qdsp6/q6apm.c