ASoC: rt5645/rt5677: replace codec to component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 29 Jan 2018 03:49:31 +0000 (03:49 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 12 Feb 2018 11:18:44 +0000 (11:18 +0000)
commit79223bf190919199652441d9f455cb0deabc75f5
treee3aa0601f1534b0b5eb1a451a179d5777bf55df1
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2
ASoC: rt5645/rt5677: replace codec to component

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: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-rt5645.c
sound/soc/codecs/rt5645.c
sound/soc/codecs/rt5645.h
sound/soc/codecs/rt5677.c
sound/soc/codecs/rt5677.h
sound/soc/intel/boards/bdw-rt5677.c
sound/soc/intel/boards/cht_bsw_rt5645.c
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
sound/soc/mediatek/mt8173/mt8173-rt5650.c
sound/soc/rockchip/rockchip_rt5645.c