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

index cae97fa3bcb046ca1712e7373627464cc05a7d04..312be0721b5d857e5d45d466858a7ab56c19dc61 100644 (file)
@@ -522,10 +522,10 @@ static int wm8750_set_dai_fmt(struct snd_soc_dai *codec_dai,
 
        /* set master/slave audio interface */
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBM_CFM:
+       case SND_SOC_DAIFMT_CBP_CFP:
                iface = 0x0040;
                break;
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                break;
        default:
                return -EINVAL;