]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: amd: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:30:27 +0000 (01:30 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 3 Mar 2025 12:57:17 +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/8734g1h4r0.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-mach-common.c

index f7602c1769bf4f04a1dffc6ec113c99ec8e1dc97..a0dab85088ec5bc9aec72f952ab6328764387568 100644 (file)
@@ -919,7 +919,7 @@ static int acp_max98388_hw_params(struct snd_pcm_substream *substream,
        int ret;
 
        ret = snd_soc_dai_set_fmt(codec_dai,
-                                 SND_SOC_DAIFMT_CBS_CFS | SND_SOC_DAIFMT_I2S |
+                                 SND_SOC_DAIFMT_CBC_CFC | SND_SOC_DAIFMT_I2S |
                                  SND_SOC_DAIFMT_NB_NF);
        if (ret < 0)
                return ret;