ASoC: audio-graph-scu-card: use simple_dai_props
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 31 Aug 2018 03:09:20 +0000 (03:09 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 31 Aug 2018 14:58:27 +0000 (15:58 +0100)
commit1340739d4de4d9d99f1134180f95b42cc4eda438
tree29af867fbe01dba16126fd102e9a097721646b07
parent8e6746db2e66c30e59a49ac15eb0c54d51acfb4b
ASoC: audio-graph-scu-card: use simple_dai_props

audi-graph-card and audio-graph-scu-card are very similar driver,
but using different feature. Thus we are keeping synchronization
on these 2 drivers style, because it is easy to confirm / check.

Current big difference between these 2 drivers are "dai_props" on
graph_card_data (= priv).
It will be difficult to keep synchronize if we will add new feature
on audio-graph-scu-card. Thus, this patch synchronize it.

[audio-graph]
struct graph_card_data {
...
struct graph_dai_props {
...
} *dai_props;
...
};

[audio-graph-scu]
struct graph_card_data {
...
struct asoc_simple_dai *dai_props;
...
};

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