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

Commit df699540 authored by Viraja Kommaraju's avatar Viraja Kommaraju Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: Remove codec dai fmt config in MI2S slave mode



WCD codec is not used in slave mode. So remove codec dai
format configuration from MI2S slave mode in startup.

CRs-fixed: 2057571
Change-Id: I58b5fd42164a73a090e55bed2fe513beb8c97111
Signed-off-by: default avatarViraja Kommaraju <virajak@codeaurora.org>
parent 844aad38
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -407,11 +407,6 @@ static int mdm_mi2s_startup(struct snd_pcm_substream *substream)
					__func__);
				goto err;
			}
			ret = snd_soc_dai_set_fmt(codec_dai,
					SND_SOC_DAIFMT_CBM_CFM);
			if (ret < 0)
				pr_err("%s Set fmt for codec dai failed\n",
					__func__);
		}
	}
err: