ASoC: simple-scu-card: use simple_dai_props
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 31 Aug 2018 03:08:38 +0000 (03:08 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 31 Aug 2018 14:58:15 +0000 (15:58 +0100)
commit5ece10ab99205d11419e3d2e6c7ac0e382d952b5
treea34b7d8d0af8240a39cc93e319b2c7818ad5123b
parent710af9196ce614ee02185c2ec55e617a71843183
ASoC: simple-scu-card: use simple_dai_props

simple-card and simple-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
simple_card_data (= priv).
It will be difficult to keep synchronize if we will add new feature
on simple-scu-card. Thus, this patch synchronize it.

[simple]
struct simple_card_data {
...
struct simple_dai_props {
...
} *dai_props;
...
};

[simple scu]
struct simple_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/simple-scu-card.c