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

index a0e75b03e9dc9ec848828060fa0c3d80d8381429..93ad078cdd25ffd33ede0082f1cc7f1283fa7593 100644 (file)
@@ -1671,7 +1671,7 @@ static int rt1011_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
 
        snd_soc_dapm_mutex_lock(dapm);
        switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
-       case SND_SOC_DAIFMT_CBS_CFS:
+       case SND_SOC_DAIFMT_CBC_CFC:
                reg_val |= RT1011_I2S_TDM_MS_S;
                break;
        default: