]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8669e3138c600d1eed5abd5a0aac3e6116a786c2
tree29af867fbe01dba16126fd102e9a097721646b07
parentccb7524a1ea90ff1ce8a95c00be26d0f4ee409b0
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