• Kuninori Morimoto's avatar
    ASoC: rt5645/rt5677: replace codec to component · 79223bf1
    Kuninori Morimoto authored
    Now we can replace Codec to Component. Let's do it.
    
    Because Intel/Mediatek platforms are using rt5645/rt5677,
    we need to update these all related drivers in same time.
    Otherwise compile error/warning happen
    
    rt5645:
    	xxx_codec_xxx()		->	xxx_component_xxx()
    	.idle_bias_off = 1	->	.idle_bias_on = 0
    	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
    	-			->	.endianness = 1
    	-			->	.non_legacy_dai_naming = 1
    
    rt5677:
    	xxx_codec_xxx()		->	xxx_component_xxx()
    	.idle_bias_off = 1	->	.idle_bias_on = 0
    	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
    	-			->	.endianness = 1
    	-			->	.non_legacy_dai_naming = 1
    Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    79223bf1
acp-rt5645.c 5.46 KB