Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: audio-graph-card2: add support for aux devices

Add device tree property to define auxiliary devices to be added to
Audio Graph Card which is already supported on Simle Card.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://msgid.link/r/878qz4ry81.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
195815c2 1c75adb2

+4
+4
sound/soc/generic/audio-graph-card2.c
··· 1398 1398 1399 1399 simple_util_debug_info(priv); 1400 1400 1401 + ret = snd_soc_of_parse_aux_devs(card, "aux-devs"); 1402 + if (ret < 0) 1403 + goto err; 1404 + 1401 1405 ret = devm_snd_soc_register_card(dev, card); 1402 1406 err: 1403 1407 devm_kfree(dev, li);