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

Commit 1152a195 authored by Troy Kisky's avatar Troy Kisky Committed by Mark Brown
Browse files

ALSA: ASoC: DaVinci: davinvi-evm, make requests explicit



Add constants with a value of 0 to show more explicitly
what is being requested.

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 70043058
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -38,12 +38,14 @@ static int evm_hw_params(struct snd_pcm_substream *substream,

	/* set codec DAI configuration */
	ret = snd_soc_dai_set_fmt(codec_dai, SND_SOC_DAIFMT_I2S |
					 SND_SOC_DAIFMT_CBM_CFM);
					SND_SOC_DAIFMT_CBM_CFM |
					SND_SOC_DAIFMT_NB_NF);
	if (ret < 0)
		return ret;

	/* set cpu DAI configuration */
	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_CBM_CFM |
	ret = snd_soc_dai_set_fmt(cpu_dai, SND_SOC_DAIFMT_I2S |
					SND_SOC_DAIFMT_CBM_CFM |
				       SND_SOC_DAIFMT_IB_NF);
	if (ret < 0)
		return ret;