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:
b6052c3
)
ASoC: soc-core: don't use discriminatory terms on snd_soc_runtime_get_dai_fmt()
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Tue, 8 Jun 2021 00:11:50 +0000
(09:11 +0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Jun 2021 12:36:47 +0000
(13:36 +0100)
snd_soc_runtime_get_dai_fmt() is using discriminatory terms.
This patch fixup it.
Fixes:
ba9e82a1c891
("ASoC: soc-core: add snd_soc_runtime_get_dai_fmt()")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link:
https://lore.kernel.org/r/874ke9dxkp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c
patch
|
blob
|
history
diff --git
a/sound/soc/soc-core.c
b/sound/soc/soc-core.c
index
4daa9b2
..
44e65f9
100644
(file)
--- a/
sound/soc/soc-core.c
+++ b/
sound/soc/soc-core.c
@@
-1211,8
+1211,8
@@
found:
mask |= SND_SOC_DAIFMT_CLOCK_MASK;
if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_INV_MASK))
mask |= SND_SOC_DAIFMT_INV_MASK;
- if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_
MAST
ER_MASK))
- mask |= SND_SOC_DAIFMT_
MAST
ER_MASK;
+ if (!(dai_link->dai_fmt & SND_SOC_DAIFMT_
CLOCK_PROVID
ER_MASK))
+ mask |= SND_SOC_DAIFMT_
CLOCK_PROVID
ER_MASK;
dai_link->dai_fmt |= (dai_fmt & mask);
}