Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 758edf02 authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: dapm: Avoid static route b/w cpu and codec dai" into msm-4.8

parents 743a3704 05e2fe86
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3910,6 +3910,9 @@ static void dapm_connect_dai_link_widgets(struct snd_soc_card *card,
	for (i = 0; i < rtd->num_codecs; i++) {
		struct snd_soc_dai *codec_dai = rtd->codec_dais[i];

		if (!cpu_dai->component->codec)
			continue;

		/* connect BE DAI playback if widgets are valid */
		if (codec_dai->playback_widget && cpu_dai->playback_widget) {
			source = cpu_dai->playback_widget;