• Kuninori Morimoto's avatar
    ASoC: simple-scu-card: use simple_dai_props · 5ece10ab
    Kuninori Morimoto authored
    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: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    5ece10ab
simple-scu-card.c 7.92 KB