]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: bt-sco: fix bt-sco-pcm-wb dai widget don't connect to the endpoint
authorJiaxin Yu <jiaxin.yu@mediatek.com>
Wed, 2 Mar 2022 01:35:33 +0000 (09:35 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 3 Mar 2022 12:48:37 +0000 (12:48 +0000)
commitf9d1b1351513ef49d2cd8aa1384848b42df6a1c2
tree648ec67dc599f718ab17e57a50478a885360e406
parent71b6e6be2ba5f7c5ae103d77214193b37e4149f8
ASoC: bt-sco: fix bt-sco-pcm-wb dai widget don't connect to the endpoint

This patch fix the second dai driver's dai widget can't connect to the
endpoint. Because "bt-sco-pcm" and "bt-sco-pcm-wb" dai driver have the
same stream_name, so it will cause they have the same widget name.
Therefor it will just create only one route when do snd_soc_dapm_add_route
that only find the widget through the widget name.

Signed-off-by: Jiaxin Yu <jiaxin.yu@mediatek.com>
Link: https://lore.kernel.org/r/20220302013533.29068-1-jiaxin.yu@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/bt-sco.c