[alsa-devel] [PATCH] ASoC: dapm: Fix connected widget capture path query.
1 Jun
2012
1 Jun
'12
7:03 p.m.
Make sure we check the correct path for capture.
Signed-off-by: Liam Girdwood lrg@ti.com --- sound/soc/soc-dapm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 3bb7a6f..24ddcb6 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -960,7 +960,7 @@ int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, if (stream == SNDRV_PCM_STREAM_PLAYBACK) paths = is_connected_output_ep(dai->playback_widget, list); else - paths = is_connected_input_ep(dai->playback_widget, list); + paths = is_connected_input_ep(dai->capture_widget, list);
trace_snd_soc_dapm_connected(paths, stream); dapm_clear_walk(&card->dapm);
--
1.7.9.5
4587
Age (days ago)
4587
Last active (days ago)
0 comments
1 participants
participants (1)
-
Liam Girdwood