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

index 2417b91a328f083f991af8505c5586d3b27d9bbd..db853833f0d4cb9687badd97dc315da1226903f9 100644 (file)
@@ -451,21 +451,21 @@ static struct snd_soc_dai_link tm2_dai_links[] = {
                .stream_name    = "HiFi Primary",
                .ops            = &tm2_aif1_ops,
                .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(aif1),
        }, {
                .name           = "WM5110 Voice",
                .stream_name    = "Voice call",
                .ops            = &tm2_aif2_ops,
                .dai_fmt        = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                                 SND_SOC_DAIFMT_CBM_CFM,
+                                 SND_SOC_DAIFMT_CBP_CFP,
                .ignore_suspend = 1,
                SND_SOC_DAILINK_REG(voice),
        }, {
                .name           = "WM5110 BT",
                .stream_name    = "Bluetooth",
                .dai_fmt        = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                                 SND_SOC_DAIFMT_CBM_CFM,
+                                 SND_SOC_DAIFMT_CBP_CFP,
                .ignore_suspend = 1,
                SND_SOC_DAILINK_REG(bt),
        }, {
@@ -473,7 +473,7 @@ static struct snd_soc_dai_link tm2_dai_links[] = {
                .stream_name    = "i2s1",
                .ops            = &tm2_hdmi_ops,
                .dai_fmt        = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                                 SND_SOC_DAIFMT_CBS_CFS,
+                                 SND_SOC_DAIFMT_CBC_CFC,
                SND_SOC_DAILINK_REG(hdmi),
        }
 };