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

index 21ba796a5cd935c10d2133bb2143514402b0243b..ddf36001100eef29f74f4d99420511f620f1948d 100644 (file)
@@ -943,11 +943,11 @@ static int cs42l73_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
        mmcc = snd_soc_component_read(component, CS42L73_MMCC(id));
 
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBM_CFM:
+       case SND_SOC_DAIFMT_CBP_CFP:
                mmcc |= CS42L73_MS_MASTER;
                break;
 
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                mmcc &= ~CS42L73_MS_MASTER;
                break;