Loading sound/soc/soc-pcm.c +10 −2 Original line number Diff line number Diff line Loading @@ -1285,7 +1285,11 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, if (!be->dai_link->no_pcm) continue; if (be->cpu_dai->playback_widget == widget) if ((be->cpu_dai->playback_widget == widget && (be->dai_link->stream_name && !strcmp(be->dai_link->stream_name, be->cpu_dai->playback_widget->sname))) || be->codec_dai->playback_widget == widget) return be; for (j = 0; j < be->num_codecs; j++) { Loading @@ -1302,7 +1306,11 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, if (!be->dai_link->no_pcm) continue; if (be->cpu_dai->capture_widget == widget) if ((be->cpu_dai->capture_widget == widget && (be->dai_link->stream_name && !strcmp(be->dai_link->stream_name, be->cpu_dai->capture_widget->sname))) || be->codec_dai->capture_widget == widget) return be; for (j = 0; j < be->num_codecs; j++) { Loading Loading
sound/soc/soc-pcm.c +10 −2 Original line number Diff line number Diff line Loading @@ -1285,7 +1285,11 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, if (!be->dai_link->no_pcm) continue; if (be->cpu_dai->playback_widget == widget) if ((be->cpu_dai->playback_widget == widget && (be->dai_link->stream_name && !strcmp(be->dai_link->stream_name, be->cpu_dai->playback_widget->sname))) || be->codec_dai->playback_widget == widget) return be; for (j = 0; j < be->num_codecs; j++) { Loading @@ -1302,7 +1306,11 @@ static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, if (!be->dai_link->no_pcm) continue; if (be->cpu_dai->capture_widget == widget) if ((be->cpu_dai->capture_widget == widget && (be->dai_link->stream_name && !strcmp(be->dai_link->stream_name, be->cpu_dai->capture_widget->sname))) || be->codec_dai->capture_widget == widget) return be; for (j = 0; j < be->num_codecs; j++) { Loading