summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLiam Girdwood <lrg@ti.com>2012-06-05 20:27:15 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-06-08 00:56:41 +0200
commit90c6ce0d5482ee52b0a427115e185d488783164b (patch)
tree60ea453590f8ee6f7199ec68b9b3bc26faec6b92 /sound
parentASoC: dpcm: Fix dpcm_get_be() to check that DAI is BE (diff)
downloadlinux-90c6ce0d5482ee52b0a427115e185d488783164b.tar.xz
linux-90c6ce0d5482ee52b0a427115e185d488783164b.zip
ASoC: dapm: Fix input list to use source widgets
We should only add source widgets to the input list. Signed-off-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/soc-dapm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index b47fe75444ac..89eae93445cf 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -913,7 +913,7 @@ static int is_connected_input_ep(struct snd_soc_dapm_widget *widget,
/* do we need to add this widget to the list ? */
if (list) {
int err;
- err = dapm_list_add_widget(list, path->sink);
+ err = dapm_list_add_widget(list, path->source);
if (err < 0) {
dev_err(widget->dapm->dev, "could not add widget %s\n",
widget->name);