Skip to contentSkip to conversation

ASoC: dapm: Fix input list to use source widgets.

PATCH Applied Liam Girdwood 2 participants 2 messages Jun 5, 2012 – Jun 8, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: dapm: Fix input list to use source widgets.

We should only add source widgets to the input list.

---
 sound/soc/soc-dapm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-dapm.c +1 -1
index 9a67a75..20b3402 100644
@@ -928,7 +928,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);
Signature · 1 line
1.7.9.5
Applied
#1 lore raw
Quoted 1 line · Liam Girdwood

We should only add source widgets to the input list.

Applied, thanks.