]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: qdsp6: q6routing: remove default routing
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Wed, 11 Mar 2020 18:04:22 +0000 (18:04 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 12 Mar 2020 12:55:39 +0000 (12:55 +0000)
commit2dbbf9bafd77143ef6add3302eedb9bb3b4fb0d8
treeaeff1c4db978380b5cd8b7d77186c81af5f6a718
parent539ddc9f79d83bfe364211ff38c0af43b862eebf
ASoC: qdsp6: q6routing: remove default routing

Frontend dais can be configured to rx or tx or both, however having default
routes without considering this configuration can lead to failures during
card probe as below for compress rx only case. These routing have to come
from sound card routing table in device tree.

"routing: ASoC: Failed to add route MM_UL1 -> direct -> MultiMedia1 Capture
msm-snd-sdm845 sound: ASoC: failed to instantiate card -19
"

Reported-by: Vinod Koul <vinod.koul@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20200311180422.28363-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/q6routing.c