]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Simplify snd_soc_dapm_link_dai_widgets()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 7 May 2014 14:20:28 +0000 (16:20 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 20:37:17 +0000 (21:37 +0100)
commit756d682cc5d814b729a6e0ab87552aedd218cfea
tree7e773e4997edd936403270d11cc0e99e584649ad
parent38fef08380b83cced61cf1923846d9930cc5349b
ASoC: dapm: Simplify snd_soc_dapm_link_dai_widgets()

If we find a widget who's stream name matches the name of a DAI widget then
thats the one it should be connected to. Based on the widget id we can say in
which direction the path should be. No need to go back to the DAI and check the
stream names.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c