ASoC: rt5670: replace codec to component
Now we can replace Codec to Component. Let's do it. Note: 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>
This commit is contained in:

committed by
Mark Brown

parent
7928b2cbe5
commit
5ba04c66d5
@@ -1986,11 +1986,11 @@ enum {
|
||||
RT5670_DOWN_RATE_FILTER = (0x1 << 7),
|
||||
};
|
||||
|
||||
int rt5670_sel_asrc_clk_src(struct snd_soc_codec *codec,
|
||||
int rt5670_sel_asrc_clk_src(struct snd_soc_component *component,
|
||||
unsigned int filter_mask, unsigned int clk_src);
|
||||
|
||||
struct rt5670_priv {
|
||||
struct snd_soc_codec *codec;
|
||||
struct snd_soc_component *component;
|
||||
struct rt5670_platform_data pdata;
|
||||
struct regmap *regmap;
|
||||
struct snd_soc_jack *jack;
|
||||
@@ -2012,8 +2012,8 @@ struct rt5670_priv {
|
||||
int jack_type_saved;
|
||||
};
|
||||
|
||||
void rt5670_jack_suspend(struct snd_soc_codec *codec);
|
||||
void rt5670_jack_resume(struct snd_soc_codec *codec);
|
||||
int rt5670_set_jack_detect(struct snd_soc_codec *codec,
|
||||
void rt5670_jack_suspend(struct snd_soc_component *component);
|
||||
void rt5670_jack_resume(struct snd_soc_component *component);
|
||||
int rt5670_set_jack_detect(struct snd_soc_component *component,
|
||||
struct snd_soc_jack *jack);
|
||||
#endif /* __RT5670_H__ */
|
||||
|
Reference in New Issue
Block a user