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

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

authored by

Kuninori Morimoto and committed by
Mark Brown
5f2d2994 2f120ee8

+2 -2
+2 -2
sound/soc/codecs/rk817_codec.c
··· 303 303 unsigned int i2s_mst = 0; 304 304 305 305 switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { 306 - case SND_SOC_DAIFMT_CBS_CFS: 306 + case SND_SOC_DAIFMT_CBC_CFC: 307 307 i2s_mst |= RK817_I2S_MODE_SLV; 308 308 break; 309 - case SND_SOC_DAIFMT_CBM_CFM: 309 + case SND_SOC_DAIFMT_CBP_CFP: 310 310 i2s_mst |= RK817_I2S_MODE_MST; 311 311 break; 312 312 default: