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

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

authored by

Kuninori Morimoto and committed by
Mark Brown
e23d68d7 1fca457c

+2 -2
+2 -2
sound/soc/codecs/nau8824.c
··· 1159 1159 unsigned int ctrl1_val = 0, ctrl2_val = 0; 1160 1160 1161 1161 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 1162 - case SND_SOC_DAIFMT_CBM_CFM: 1162 + case SND_SOC_DAIFMT_CBP_CFP: 1163 1163 ctrl2_val |= NAU8824_I2S_MS_MASTER; 1164 1164 break; 1165 - case SND_SOC_DAIFMT_CBS_CFS: 1165 + case SND_SOC_DAIFMT_CBC_CFC: 1166 1166 break; 1167 1167 default: 1168 1168 return -EINVAL;