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

index ad18c4e9a6704112e517052fb1306eefa94e7484..e8e5d1c717cd398aeca506bf7d20b5819d8dd1a2 100644 (file)
@@ -127,7 +127,7 @@ static int avs_create_dai_link(struct device *dev, const char *platform_name, in
        dl->platforms = platform;
        dl->num_platforms = 1;
        dl->id = 0;
-       dl->dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBS_CFS;
+       dl->dai_fmt = SND_SOC_DAIFMT_DSP_B | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBC_CFC;
        dl->be_hw_params_fixup = avs_max98927_be_fixup;
        dl->nonatomic = 1;
        dl->no_pcm = 1;