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

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

authored by

Kuninori Morimoto and committed by
Mark Brown
2f120ee8 e23d68d7

+2 -2
+2 -2
sound/soc/codecs/nau8825.c
··· 1356 1356 unsigned int ctrl1_val = 0, ctrl2_val = 0; 1357 1357 1358 1358 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 1359 - case SND_SOC_DAIFMT_CBM_CFM: 1359 + case SND_SOC_DAIFMT_CBP_CFP: 1360 1360 ctrl2_val |= NAU8825_I2S_MS_MASTER; 1361 1361 break; 1362 - case SND_SOC_DAIFMT_CBS_CFS: 1362 + case SND_SOC_DAIFMT_CBC_CFC: 1363 1363 break; 1364 1364 default: 1365 1365 return -EINVAL;