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

index b747f6fa12e4b756fbe4cc22b22854915d650852..016c9be3ebdaa2aecd06168145e6e308c5718ad0 100644 (file)
@@ -1034,11 +1034,11 @@ static int da732x_set_dai_fmt(struct snd_soc_dai *dai, u32 fmt)
        }
 
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                aif1 = DA732X_AIF_SLAVE;
                aif_mclk = DA732X_AIFM_FRAME_64 | DA732X_AIFM_SRC_SEL_AIFA;
                break;
-       case SND_SOC_DAIFMT_CBM_CFM:
+       case SND_SOC_DAIFMT_CBP_CFP:
                aif1 = DA732X_AIF_CLK_FROM_SRC;
                aif_mclk = DA732X_CLK_GENERATION_AIF_A;
                break;