ASoC: audio-graph-scu-card: use cpu/codec pointer on graph_dai_props
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 30 Nov 2018 02:07:15 +0000 (02:07 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 4 Dec 2018 16:29:04 +0000 (16:29 +0000)
commita1af9858edae12eca8f77b152d17ee049835e57d
tree4288da6740e8ee38fe8ea068434228ece6c7bf02
parentc89ff03ac8c67773d43e78f6dd452a4832492722
ASoC: audio-graph-scu-card: use cpu/codec pointer on graph_dai_props

In  DPCM case, it uses CPU-dummy / dummy-Codec dai links, and
non DPCM case, it uses CPU-Codec dai links.

Now, we want to merge audio-graph-card and audio-graph-scu-card.

These sound cards are using silimar but not same logic on each functions.
Then, of course we want to share same logic.
To compromise, this patch uses cpu/codec pointer on audio-graph-scu-card.
It is same logic with audio-graph-card, thus easy merging.
This is 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