ASoC: dapm: Use snd_soc_dapm_add_path() in connect_dai_link_widgets()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 7 May 2014 14:20:26 +0000 (16:20 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 20:34:48 +0000 (21:34 +0100)
commit9887c20b9fea415ade824fddd9f9ceaf3a3e72bc
tree4aef2fbf30c4b5b818e26326e6a8f9fa364b585c
parenta4e9154c429abde956fad10f7c7e7e50d6a1da9f
ASoC: dapm: Use snd_soc_dapm_add_path() in connect_dai_link_widgets()

We already know which two widgets should be connected, so use
snd_soc_dapm_add_path() instead of snd_soc_dapm_add_route() in
snd_soc_dapm_connect_dai_link_widgets().

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