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

index fa9942a0892753e288719ac769c948ee6703aff8..403e513f3fa8b046c45b91d90ffce97398e14078 100644 (file)
@@ -139,7 +139,7 @@ static int wm8524_set_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
                SND_SOC_DAIFMT_MASTER_MASK);
 
        if (fmt != (SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF |
-                   SND_SOC_DAIFMT_CBS_CFS)) {
+                   SND_SOC_DAIFMT_CBC_CFC)) {
                dev_err(codec_dai->dev, "Invalid DAI format\n");
                return -EINVAL;
        }