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)
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

Simple merge