[alsa-devel] [PATCH v2 1/5] ASoC: add mt6351 codec driver

KaiChieh Chuang kaichieh.chuang at mediatek.com
Fri Apr 20 08:54:02 CEST 2018


> > the regmap is obtain from parent dev, i assume i can use
> > snd_soc_component_init_regmap() as alternative for
> > get_regmap().callback?
> 
> Yes, though you shouldn't even need to do that - the core should just
> try using the parent regmap if none is provided.

>From my experiment, the register cannot be controlled without calling
snd_soc_component_init_regmap(). ASoC didn't seems to get the parent's
regmap directly, also from code tracing.



More information about the Alsa-devel mailing list