]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: qcom: sc7280: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:30:53 +0000 (01:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Mar 2025 12:57:22 +0000 (12:57 +0000)
In SND_SOC_DAIFMT_CBx_CFx, M/S are no longer used. use P/C.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87v7sxfq5v.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sc7280.c

index 230af8d7b205d418e6d278b4222278a3e6c0c595..af412bd0c89ff5a475251b1f4371d14f8efe8063 100644 (file)
@@ -342,8 +342,8 @@ static void sc7280_snd_shutdown(struct snd_pcm_substream *substream)
 
 static int sc7280_snd_startup(struct snd_pcm_substream *substream)
 {
-       unsigned int fmt = SND_SOC_DAIFMT_CBS_CFS;
-       unsigned int codec_dai_fmt = SND_SOC_DAIFMT_CBS_CFS;
+       unsigned int fmt = SND_SOC_DAIFMT_CBC_CFC;
+       unsigned int codec_dai_fmt = SND_SOC_DAIFMT_CBC_CFC;
        struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream);
        struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
        struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0);