projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5e9d4
)
ASoC: codec: rt5631: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:33:26 +0000
(
01:33
+0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 3 Mar 2025 12:57:58 +0000
(12:57 +0000)
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/87cyf5ebh5.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5631.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5631.c
b/sound/soc/codecs/rt5631.c
index
12df0c4
..
d523477
100644
(file)
--- a/
sound/soc/codecs/rt5631.c
+++ b/
sound/soc/codecs/rt5631.c
@@
-1411,10
+1411,10
@@
static int rt5631_hifi_codec_set_dai_fmt(struct snd_soc_dai *codec_dai,
dev_dbg(component->dev, "enter %s\n", __func__);
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
- case SND_SOC_DAIFMT_CB
M_CFM
:
+ case SND_SOC_DAIFMT_CB
P_CFP
:
rt5631->master = 1;
break;
- case SND_SOC_DAIFMT_CB
S_CFS
:
+ case SND_SOC_DAIFMT_CB
C_CFC
:
iface |= RT5631_SDP_MODE_SEL_SLAVE;
rt5631->master = 0;
break;