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

ASoC: codec: nau8540: 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/87y0xtebis.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
739f4f44 6f8ac982

+2 -2
+2 -2
sound/soc/codecs/nau8540.c
··· 482 482 unsigned int ctrl1_val = 0, ctrl2_val = 0; 483 483 484 484 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 485 - case SND_SOC_DAIFMT_CBM_CFM: 485 + case SND_SOC_DAIFMT_CBP_CFP: 486 486 ctrl2_val |= NAU8540_I2S_MS_MASTER; 487 487 break; 488 - case SND_SOC_DAIFMT_CBS_CFS: 488 + case SND_SOC_DAIFMT_CBC_CFC: 489 489 break; 490 490 default: 491 491 return -EINVAL;