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

index 571f65788c592050abdca264f5656d4d1a9d99f6..a80e9c9d6288be45501e69aafba76861ffce04c5 100644 (file)
@@ -57,11 +57,11 @@ static int t9015_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
        unsigned int val;
 
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBM_CFM:
+       case SND_SOC_DAIFMT_CBP_CFP:
                val = I2S_MODE;
                break;
 
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                val = 0;
                break;