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

index e3782762139f6aee59b9bf6ef623dcf946f2bf80..609886461805f85f826a002942bd07c9105f2038 100644 (file)
@@ -2049,7 +2049,7 @@ static int twl4030_voice_set_dai_fmt(struct snd_soc_dai *codec_dai,
        case SND_SOC_DAIFMT_CBP_CFP:
                format &= ~(TWL4030_VIF_SLAVE_EN);
                break;
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                format |= TWL4030_VIF_SLAVE_EN;
                break;
        default: