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

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

authored by

Kuninori Morimoto and committed by
Mark Brown
6dd61011 6575dd53

+2 -2
+2 -2
sound/soc/codecs/lochnagar-sc.c
··· 129 129 130 130 static int lochnagar_sc_set_line_fmt(struct snd_soc_dai *dai, unsigned int fmt) 131 131 { 132 - return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBS_CFS); 132 + return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBC_CFC); 133 133 } 134 134 135 135 static int lochnagar_sc_set_usb_fmt(struct snd_soc_dai *dai, unsigned int fmt) 136 136 { 137 - return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBM_CFM); 137 + return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBP_CFP); 138 138 } 139 139 140 140 static const struct snd_soc_dai_ops lochnagar_sc_line_ops = {