ASoC: rsnd: cleanup rsnd_dai_of_node()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 24 Jul 2023 00:21:31 +0000 (00:21 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 31 Jul 2023 11:44:48 +0000 (12:44 +0100)
commit6328489c135b60380b9e12b4d23854433e96a8b0
tree9f5c2d4d0725e467998411cdba475a13f20b0b46
parent8897a1475f278eb36d76df9684466b17b8dd4cab
ASoC: rsnd: cleanup rsnd_dai_of_node()

It calls rsnd_dai_of_node() to know it was called from Audio Graph
Card/Card2, or from Simple Audio Card. And after that, it gets
number of related DAIs.

To be more simple code, this patch merges these.
This is prepare for multi Component support.

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