summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2024-04-26 18:29:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-17 13:02:04 +0300
commit52a31a05c1c2659fbf6fcd0fd9f557097602af78 (patch)
treec74d6d6680add6b27919617de58f6fa0313dcea0 /sound/soc
parentd7801bd9c89edadfdada1adcb58277d38324d7d0 (diff)
downloadlinux-52a31a05c1c2659fbf6fcd0fd9f557097602af78.tar.xz
ASoC: meson: axg-card: make links nonatomic
[ Upstream commit dcba52ace7d4c12e2c8c273eff55ea03a84c8baf ] 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, what is done is clear. Fixes: 7864a79f37b5 ("ASoC: meson: add axg sound card support") Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20240426152946.3078805-3-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/meson/axg-card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-card.c
index f10c0c17863e..b6f5b4572012 100644
--- a/sound/soc/meson/axg-card.c
+++ b/sound/soc/meson/axg-card.c
@@ -318,6 +318,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);
if (ret)