projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8f5701
)
ASoC: dapm: Fix connected widget capture path query.
author
Liam Girdwood
<lrg@ti.com>
Fri, 1 Jun 2012 17:03:00 +0000
(18:03 +0100)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Mon, 4 Jun 2012 09:53:58 +0000
(10:53 +0100)
Make sure we check the correct path for capture.
Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-dapm.c
b/sound/soc/soc-dapm.c
index 90ee77d2409da8402ea58026b788a624f850a25a..b47fe75444ac4e6e5b2bfc956925503025a20a5d 100644
(file)
--- a/
sound/soc/soc-dapm.c
+++ b/
sound/soc/soc-dapm.c
@@
-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);