From: Jerome Brunet Date: Wed, 20 Oct 2021 11:42:16 +0000 (+0200) Subject: ASoC: meson: axg-card: make links nonatomic X-Git-Tag: v6.1-rc5~2159^2~59^2~76^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e138233e56e9829e65b6293887063a1a3ccb2d68;p=platform%2Fkernel%2Flinux-starfive.git ASoC: meson: axg-card: make links nonatomic 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 Link: https://lore.kernel.org/r/20211020114217.133153-2-jbrunet@baylibre.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/meson/axg-card.c b/sound/soc/meson/axg-card.c index 2b77010..cbbaa55 100644 --- 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);