ASoC: simple-scu-card: use cpu/codec pointer on graph_dai_props
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 11 Dec 2018 03:25:27 +0000 (03:25 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Dec 2018 12:18:57 +0000 (12:18 +0000)
commite6a3ff2ed4c9c4df217c64e0fc0a280a24055790
tree1f1e7627538d667f3c2bfef59e5dbd0f98d9aafa
parent09ee833679761f4995daaa6fd6200c77b8fcdaef
ASoC: simple-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 simple-card and simple-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 simple-scu-card.
It is same logic with simple-card, thus easy merging.
This is 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