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)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jul 2023 12:46:38 +0000 (13:46 +0100)
commitc1be62923d4d86e7c06b1224626e27eb8d9ab32e
tree885fab7884b0047415227c96d7cbb6dbce774cc0
parentc03226ba15fe3c42d13907ec7d8536396602557b
ASoC: qcom: q6apm: do not close GPR port before closing graph

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>
sound/soc/qcom/qdsp6/q6apm.c