ASoC: simple-scu-card: care link / dai count
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Dec 2018 03:25:08 +0000 (03:25 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Dec 2018 12:18:26 +0000 (12:18 +0000)
commitb8d8f9a58fd971ec215fb8bfec5a4fb6e539a3ab
treeb9b3d2f82d39b9ad01446d0772cb6a91b61000fa
parentda32d6537802a257879e9ba91a5e351a24ada889
ASoC: simple-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 simple-card and simple-scu-card,
then, we need to care both link / dai count more carefly
This patch cares it, and prepare for merging simple card

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