Skip to content

Commit

Permalink
ASoC: dapm: Fix connected widget capture path query.
Browse files Browse the repository at this point in the history
Make sure we check the correct path for capture.

Signed-off-by: Liam Girdwood <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
lrg-ti authored and broonie committed Jun 4, 2012
1 parent f8f5701 commit d298caa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,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);
Expand Down

0 comments on commit d298caa

Please sign in to comment.