projects
/
wrapfs-5.15.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9719b35
)
ASoC: meson: axg-card: make links nonatomic
author
Jerome Brunet
<jbrunet@baylibre.com>
Wed, 20 Oct 2021 11:42:16 +0000
(13:42 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 17 May 2024 09:50:49 +0000
(11:50 +0200)
[ Upstream commit
e138233e56e9829e65b6293887063a1a3ccb2d68
]
Non atomic operations need to be performed in the trigger callback
of the TDM interfaces. Those are BEs but what matters is the nonatomic
flag of the FE in the DPCM context. Just set nonatomic for everything so,
at least, it is clear.
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link:
https://lore.kernel.org/r/20211020114217.133153-2-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/meson/axg-card.c
patch
|
blob
|
history
diff --git
a/sound/soc/meson/axg-card.c
b/sound/soc/meson/axg-card.c
index 2b77010c2c5ce8398c330e8c8e13cc9248daa828..cbbaa55d92a662c6f43ba90b7d0f1a508899e0eb 100644
(file)
--- a/
sound/soc/meson/axg-card.c
+++ b/
sound/soc/meson/axg-card.c
@@
-320,6
+320,7
@@
static int axg_card_add_link(struct snd_soc_card *card, struct device_node *np,
dai_link->cpus = cpu;
dai_link->num_cpus = 1;
+ dai_link->nonatomic = true;
ret = meson_card_parse_dai(card, np, &dai_link->cpus->of_node,
&dai_link->cpus->dai_name);