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

index 4863d6ac461bd89eef985f52a4a02d5f3e7b4f7a..4dfbb33edb099d2e65cf204a618b60aa6ca3a156 100644 (file)
@@ -308,7 +308,7 @@ static int wm8741_set_dai_fmt(struct snd_soc_dai *codec_dai,
 
        /* check master/slave audio interface */
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                break;
        default:
                return -EINVAL;