ASoC: dapm: Use snd_soc_dapm_add_path() in snd_soc_dapm_new_pcm()
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 7 May 2014 14:20:27 +0000 (16:20 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 12 May 2014 20:34:49 +0000 (21:34 +0100)
commitfe83897fc5b519b085f545d5cee2b722ed4f6d85
tree8223c074f9c9cac9e74037bf61fd64ee3e49c905
parent9887c20b9fea415ade824fddd9f9ceaf3a3e72bc
ASoC: dapm: Use snd_soc_dapm_add_path() in snd_soc_dapm_new_pcm()

We already know the widgets we want to connect, so use snd_soc_dapm_add_path()
instead of snd_soc_dapm_add_route() in snd_soc_dapm_new_pcm().

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