[alsa-devel] [PATCH v2] ASoC: rt5514: add rt5514 SPI driver

Oder Chiou oder_chiou at realtek.com
Thu Mar 31 08:29:51 CEST 2016


> > +static void rt5514_enable_dsp_prepare(struct rt5514_priv *rt5514)
> > +{
> > +	/* Reset */
> > +	regmap_write(rt5514->i2c_regmap, 0x18002000, 0x000010ec);
> 
> This is a *very* big table of magic numbers with what look like system
> specific settings in there (there seem to be some things routing to and
> from the ADC, and some clocking setup...).  Are you sure none of this
> depends on the runtime configuration?
> 
Yes, it is independent of the ASoC runtime configuration. The table of
magic numbers is the settings for the voice wake up, so it is not required
to be run on ASoC framework.


More information about the Alsa-devel mailing list