From: Kuninori Morimoto Date: Wed, 26 Feb 2025 01:30:56 +0000 (+0000) Subject: ASoC: codec: cs4234: use inclusive language for SND_SOC_DAIFMT_CBx_CFx X-Git-Tag: io_uring-6.15-20250403~95^2~4^2~72^2~142 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=3c2e63a3a0efa8c52f9fd67f58a71af48957ca7a;p=linux-block.git ASoC: codec: cs4234: use inclusive language for SND_SOC_DAIFMT_CBx_CFx In SND_SOC_DAIFMT_CBx_CFx, M/S are no longer used. use P/C. Signed-off-by: Kuninori Morimoto Link: https://patch.msgid.link/87tt8hfq5r.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/cs4234.c b/sound/soc/codecs/cs4234.c index 69287ba7e955..df160db5bbb5 100644 --- a/sound/soc/codecs/cs4234.c +++ b/sound/soc/codecs/cs4234.c @@ -307,9 +307,9 @@ static int cs4234_dai_set_fmt(struct snd_soc_dai *codec_dai, unsigned int format } switch (format & SND_SOC_DAIFMT_MASTER_MASK) { - case SND_SOC_DAIFMT_CBS_CFS: + case SND_SOC_DAIFMT_CBC_CFC: break; - case SND_SOC_DAIFMT_CBM_CFM: + case SND_SOC_DAIFMT_CBP_CFP: if (cs4234->format == SND_SOC_DAIFMT_DSP_A) { dev_err(component->dev, "Unsupported DSP A format in master mode\n"); return -EINVAL;