]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qdsp6: q6routing: validate port id before setting up route
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Tue, 16 Nov 2021 11:47:21 +0000 (11:47 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 16 Nov 2021 14:29:49 +0000 (14:29 +0000)
commit6631d958620af46b7a4c50d2e8186f7c260a1508
treeea26b745193c53241f68e34c853c7edee563d358
parent6e61a38a31b1be36ee1cfca66ef329c7a6a283e0
ASoC: qdsp6: q6routing: validate port id before setting up route

Validate port id before it starts sending commands to dsp this would
make error handling simpler.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20211116114721.12517-6-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6routing.c