ASoC: simple-card.c: enable multi Component support
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 10 Jul 2023 01:20:28 +0000 (10:20 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 17 Jul 2023 05:15:47 +0000 (06:15 +0100)
commit970dc991b2aaf22cdd497bf66c8fbb13c28c7de4
treee96dd775f6dc513098b6b7b9b97f8b4592f43402
parent90de551c1bf0c78ca5cd10c5ff424dee4d44cb1c
ASoC: simple-card.c: enable multi Component support

If CPU/Codec driver keeps its DAI node, we can directly identify actual
DAI by using snd_soc_get_dai_via_args().
This means we can use multi Component.

This patch enables multi Component support for Simple Card

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/878rboo943.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card.c