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

index 488f2314dbf78e1940983deca133e623595765c6..a1ba5df87e1e8931d6f5b20a510c25420759f908 100644 (file)
@@ -197,7 +197,7 @@ static struct snd_soc_dai_link mt8173_rt5650_rt5676_dais[] = {
                .no_pcm = 1,
                .init = mt8173_rt5650_rt5676_init,
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                          SND_SOC_DAIFMT_CBS_CFS,
+                          SND_SOC_DAIFMT_CBC_CFC,
                .ops = &mt8173_rt5650_rt5676_ops,
                .ignore_pmdown_time = 1,
                SND_SOC_DAILINK_REG(codec),
@@ -214,7 +214,7 @@ static struct snd_soc_dai_link mt8173_rt5650_rt5676_dais[] = {
                .stream_name = "rt5650_rt5676 intercodec",
                .no_pcm = 1,
                .dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                          SND_SOC_DAIFMT_CBM_CFM,
+                          SND_SOC_DAIFMT_CBP_CFP,
                SND_SOC_DAILINK_REG(intercodec),
        },
 };