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

Commit d3b89421 authored by Mark Brown's avatar Mark Brown
Browse files

ASoC: Fix Zylonite voice interface stereo configurations



We always run in the first timeslot of one.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8056d9bb
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -127,9 +127,8 @@ static int zylonite_voice_hw_params(struct snd_pcm_substream *substream,
	if (ret < 0)
		return ret;

	ret = snd_soc_dai_set_tdm_slot(cpu_dai,
				       params_channels(params),
				       params_channels(params));
	/* We're not really in network mode but the emulation wants this. */
	ret = snd_soc_dai_set_tdm_slot(cpu_dai, 1, 1);
	if (ret < 0)
		return ret;