ASoC: adau17x1/adau1761/adau1781: replace codec to component
Now we can replace Codec to Component. Let's do it. Because there are many drivers which are using adau17x1, we need to update these all related drivers in same time. Otherwise compile error/warning happen adau1761: 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 adau1781: 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: 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
dd08102a9f
@@ -53,18 +53,18 @@ struct adau {
|
||||
struct sigmadsp *sigmadsp;
|
||||
};
|
||||
|
||||
int adau17x1_add_widgets(struct snd_soc_codec *codec);
|
||||
int adau17x1_add_routes(struct snd_soc_codec *codec);
|
||||
int adau17x1_add_widgets(struct snd_soc_component *component);
|
||||
int adau17x1_add_routes(struct snd_soc_component *component);
|
||||
int adau17x1_probe(struct device *dev, struct regmap *regmap,
|
||||
enum adau17x1_type type, void (*switch_mode)(struct device *dev),
|
||||
const char *firmware_name);
|
||||
void adau17x1_remove(struct device *dev);
|
||||
int adau17x1_set_micbias_voltage(struct snd_soc_codec *codec,
|
||||
int adau17x1_set_micbias_voltage(struct snd_soc_component *component,
|
||||
enum adau17x1_micbias_voltage micbias);
|
||||
bool adau17x1_readable_register(struct device *dev, unsigned int reg);
|
||||
bool adau17x1_volatile_register(struct device *dev, unsigned int reg);
|
||||
bool adau17x1_precious_register(struct device *dev, unsigned int reg);
|
||||
int adau17x1_resume(struct snd_soc_codec *codec);
|
||||
int adau17x1_resume(struct snd_soc_component *component);
|
||||
|
||||
extern const struct snd_soc_dai_ops adau17x1_dai_ops;
|
||||
|
||||
|
Reference in New Issue
Block a user