]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2598b3f726a8c13e9c965007e83ab4ca7169c997
treedd304579fd5ddd75f6f8f0bab970fb4f6c727429
parent2f5132ee64616010903ab5c54c348520404b1e11
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: ce4b211809c3 ("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