ASoC: simple-card: Handle additional devices
authorHerve Codina <herve.codina@bootlin.com>
Fri, 23 Jun 2023 08:58:30 +0000 (10:58 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:48:20 +0000 (22:48 +0100)
commit6d8ad35d119ca4c9c6fdf83faa733102c4a63f4b
treef46dd451ea423798612d04915564ddcd773f7e70
parent1d298ad822178d365b53eac298c1752730505306
ASoC: simple-card: Handle additional devices

An additional-devs subnode can be present in the simple-card top node.
This subnode is used to declared some "virtual" additional devices.

Create related devices from this subnode and avoid this subnode presence
to interfere with the already supported subnodes analysis.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/20230623085830.749991-14-herve.codina@bootlin.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c