ASoC: audio-graph-scu-card: care link / dai count
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 30 Nov 2018 02:06:51 +0000 (02:06 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Dec 2018 16:28:49 +0000 (16:28 +0000)
commitc89ff03ac8c67773d43e78f6dd452a4832492722
treea5eccc5c997ca31619d3de046c1c7570011852a8
parentb6f3fc005a2c8b425d7a0973b43bef05890bf479
ASoC: audio-graph-scu-card: care link / dai count

In DPCM case, it uses CPU-dummy / dummy-Codec dai links.
If sound card is caring only DPCM, link count = dai count,
but, if non DPCM case, link count != dai count.
Now, we want to merge audio-graph-card and audio-graph-scu-card,
then, we need to care both link / dai count more carefly
This patch cares it, and prepare for merging audio card

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/audio-graph-scu-card.c