Skip to content
  • Kuninori Morimoto's avatar
    ASoC: hdac_hdmi/nau8825/rt286/rt298/rt5663/da7219: replace codec to component · 45101122
    Kuninori Morimoto authored
    
    
    Now we can replace Codec to Component. Let's do it.
    
    Because intal/rockchip boards are using multi-codecs in 1 driver,
    we need to update these all related drivers in same time.
    Otherwise compile error/warning happen
    
    Note:
    
    hdac_hdmi
    	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
    
    nau8825
    	xxx_codec_xxx()		->	xxx_component_xxx()
    	.idle_bias_off = 0	->	.idle_bias_on = 1
    	.ignore_pmdown_time = 0	->	.use_pmdown_time = 1
    	-			->	.endianness = 1
    	-			->	.non_legacy_dai_naming = 1
    
    rt286
    	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
    
    rt298
    	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
    
    rt5663
    	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
    
    da7219
    	xxx_codec_xxx()		->	xxx_component_xxx()
    	.idle_bias_off = 0	->	.idle_bias_on = 1
    	.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>
    45101122