aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-pcm.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 256b9c91aa94..a6d33136d755 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -1306,7 +1306,12 @@ static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream,
1306 1306
1307 switch (list->widgets[i]->id) { 1307 switch (list->widgets[i]->id) {
1308 case snd_soc_dapm_dai_in: 1308 case snd_soc_dapm_dai_in:
1309 if (stream != SNDRV_PCM_STREAM_PLAYBACK)
1310 continue;
1311 break;
1309 case snd_soc_dapm_dai_out: 1312 case snd_soc_dapm_dai_out:
1313 if (stream != SNDRV_PCM_STREAM_CAPTURE)
1314 continue;
1310 break; 1315 break;
1311 default: 1316 default:
1312 continue; 1317 continue;