Skip to content

Commit dcba52a

Browse files
jbrun3tbroonie
authored andcommitted
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, what is done is clear. Fixes: 7864a79 ("ASoC: meson: add axg sound card support") Signed-off-by: Jerome Brunet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent b11d266 commit dcba52a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/soc/meson/axg-card.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ static int axg_card_add_link(struct snd_soc_card *card, struct device_node *np,
318318

319319
dai_link->cpus = cpu;
320320
dai_link->num_cpus = 1;
321+
dai_link->nonatomic = true;
321322

322323
ret = meson_card_parse_dai(card, np, dai_link->cpus);
323324
if (ret)

0 commit comments

Comments
 (0)