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

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

authored by

Kuninori Morimoto and committed by
Mark Brown
c974655b 3c2e63a3

+2 -2
+2 -2
sound/soc/codecs/cs4265.c
··· 344 344 u8 iface = 0; 345 345 346 346 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 347 - case SND_SOC_DAIFMT_CBM_CFM: 347 + case SND_SOC_DAIFMT_CBP_CFP: 348 348 snd_soc_component_update_bits(component, CS4265_ADC_CTL, 349 349 CS4265_ADC_MASTER, 350 350 CS4265_ADC_MASTER); 351 351 break; 352 - case SND_SOC_DAIFMT_CBS_CFS: 352 + case SND_SOC_DAIFMT_CBC_CFC: 353 353 snd_soc_component_update_bits(component, CS4265_ADC_CTL, 354 354 CS4265_ADC_MASTER, 355 355 0);