ASoC: soc-core.c: cleanup soc_dai_link_sanity_check()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 21 Jun 2023 02:18:17 +0000 (02:18 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 9 Jul 2023 21:50:55 +0000 (22:50 +0100)
commit0e66a2c694096abc54ed58b3be654103f155ea43
tree8eb4bdf70ebea1d3b58c09f6b37349ed3f3da034
parent521d675d2497f890e881dc48e954a1559460e97c
ASoC: soc-core.c: cleanup soc_dai_link_sanity_check()

Required CPU/Codec/Platform dlc (snd_soc_dai_link_component) are similar
but not same, and very complex. Current implementation is very confusable
and it will be more complex if multi Component was supported.
This patch cleanup it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87o7l9blsn.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c