diff options
author | Misael Lopez Cruz <misael.lopez@ti.com> | 2012-06-06 18:28:53 -0500 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2012-06-22 10:05:59 +0800 |
commit | 231b1f2d294b9e652770dadd200eb65e03db9ddf (patch) | |
tree | a07d6294bb4c19e82d12061ef0a86533c0d9c253 /sound | |
parent | ae624f4a51db7af67ef91d63b6f279c8d05c66e6 (diff) | |
download | panda-231b1f2d294b9e652770dadd200eb65e03db9ddf.tar.gz |
ASoC: dapm: Add source widget when building capture list
Widget list used for capture should be created with the source widget
in a given audio path.
Change-Id: I21d95da1a9308b4d68fc709a633d7852daba87cd
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index b9127136ac9..6c4beb64c3e 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -921,7 +921,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); |