]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: qcom: sc7180: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:30:48 +0000 (01:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Mar 2025 12:57:21 +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/87wmddfq5z.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/sc7180.c

index d95710b1ea4ef313593806d02a42e86ffc71691c..84b6ac5d2a2052a574f2300a24b87dec5fea040f 100644 (file)
@@ -397,7 +397,7 @@ static int sc7180_adau7002_snd_startup(struct snd_pcm_substream *substream)
        switch (cpu_dai->id) {
        case MI2S_PRIMARY:
                snd_soc_dai_set_fmt(codec_dai,
-                                   SND_SOC_DAIFMT_CBS_CFS |
+                                   SND_SOC_DAIFMT_CBC_CFC |
                                    SND_SOC_DAIFMT_NB_NF |
                                    SND_SOC_DAIFMT_I2S);
                runtime->hw.formats = SNDRV_PCM_FMTBIT_S32_LE;