Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: codec: cs4270: 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 <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87r03lfq5j.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
46dbe257 c974655b

+2 -2
+2 -2
sound/soc/codecs/cs4270.c
··· 287 287 288 288 /* set master/slave audio interface */ 289 289 switch (format & SND_SOC_DAIFMT_MASTER_MASK) { 290 - case SND_SOC_DAIFMT_CBS_CFS: 290 + case SND_SOC_DAIFMT_CBC_CFC: 291 291 cs4270->slave_mode = 1; 292 292 break; 293 - case SND_SOC_DAIFMT_CBM_CFM: 293 + case SND_SOC_DAIFMT_CBP_CFP: 294 294 cs4270->slave_mode = 0; 295 295 break; 296 296 default: