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:
cfb91be
)
ASoC: codec: wm9713: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:36:29 +0000
(
01:36
+0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 3 Mar 2025 12:58:46 +0000
(12:58 +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/87bjupbi76.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm9713.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm9713.c
b/sound/soc/codecs/wm9713.c
index
64b6931
..
5b0fa1b
100644
(file)
--- a/
sound/soc/codecs/wm9713.c
+++ b/
sound/soc/codecs/wm9713.c
@@
-944,19
+944,19
@@
static int wm9713_set_dai_fmt(struct snd_soc_dai *codec_dai,
/* clock masters */
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
- case SND_SOC_DAIFMT_CB
M_CFM
:
+ case SND_SOC_DAIFMT_CB
P_CFP
:
reg |= 0x4000;
gpio |= 0x0010;
break;
- case SND_SOC_DAIFMT_CB
M_CFS
:
+ case SND_SOC_DAIFMT_CB
P_CFC
:
reg |= 0x6000;
gpio |= 0x0018;
break;
- case SND_SOC_DAIFMT_CB
S_CFS
:
+ case SND_SOC_DAIFMT_CB
C_CFC
:
reg |= 0x2000;
gpio |= 0x001a;
break;
- case SND_SOC_DAIFMT_CB
S_CFM
:
+ case SND_SOC_DAIFMT_CB
C_CFP
:
gpio |= 0x0012;
break;
}