ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 16 Nov 2021 11:47:19 +0000 (11:47 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Nov 2021 14:29:45 +0000 (14:29 +0000)
commit721a94b4352dc8e47bff90b549a0118c39776756
treedd304579fd5ddd75f6f8f0bab970fb4f6c727429
parent861afeac7990587588d057b2c0b3222331c3da29
ASoC: qdsp6: q6asm: fix q6asm_dai_prepare error handling

Error handling in q6asm_dai_prepare() seems to be completely broken,
Fix this by handling it properly.

Fixes: 2a9e92d371db ("ASoC: qdsp6: q6asm: Add q6asm dai driver")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211116114721.12517-4-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6asm-dai.c