projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2d299
)
ASoC: codec: rt274: use inclusive language for SND_SOC_DAIFMT_CBx_CFx
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Wed, 26 Feb 2025 01:32:51 +0000
(
01:32
+0000)
committer
Mark Brown
<broonie@kernel.org>
Mon, 3 Mar 2025 12:57:49 +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/87plj5ebi4.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt274.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt274.c
b/sound/soc/codecs/rt274.c
index bd61a257d7b58c45c05bad30a3829b5b16000690..92ff78aa536b8f2d23dcfc518367dc2f84055365 100644
(file)
--- a/
sound/soc/codecs/rt274.c
+++ b/
sound/soc/codecs/rt274.c
@@
-706,12
+706,12
@@
static int rt274_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
struct rt274_priv *rt274 = snd_soc_component_get_drvdata(component);
switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) {
- case SND_SOC_DAIFMT_CB
M_CFM
:
+ case SND_SOC_DAIFMT_CB
P_CFP
:
snd_soc_component_update_bits(component,
RT274_I2S_CTRL1, RT274_I2S_MODE_MASK, RT274_I2S_MODE_M);
rt274->master = true;
break;
- case SND_SOC_DAIFMT_CB
S_CFS
:
+ case SND_SOC_DAIFMT_CB
C_CFC
:
snd_soc_component_update_bits(component,
RT274_I2S_CTRL1, RT274_I2S_MODE_MASK, RT274_I2S_MODE_S);
rt274->master = false;