[alsa-devel] [PATCH] ASoC: Add MICBIAS routing information for WM8904

Xu, Hong Hong.Xu at atmel.com
Mon Mar 19 02:15:59 CET 2012


Hi Mark,

> -----Original Message-----
> From: Mark Brown [mailto:broonie at opensource.wolfsonmicro.com]
> Sent: Saturday, March 17, 2012 3:05 AM
> To: Xu, Hong
> Cc: alsa-devel at alsa-project.org
> Subject: Re: [PATCH] ASoC: Add MICBIAS routing information for WM8904
> 
> On Fri, Mar 16, 2012 at 04:54:58PM +0800, Hong Xu wrote:
> 
> >  static const struct snd_soc_dapm_route adc_intercon[] = {
> > +	{ "MICBIAS", NULL, "IN1L" },
> > +	{ "MICBIAS", NULL, "IN1R" },
> > +
> > +	{ "Left Capture Mux", NULL, "MICBIAS" },
> > +	{ "Right Capture Mux", NULL, "MICBIAS" },
> > +	{ "Left Capture Inverting Mux", NULL, "MICBIAS" },
> > +	{ "Right Capture Inverting Mux", NULL, "MICBIAS" },
> > +
> 
> No, this is not something that the CODEC driver should do - the
machine
> driver should add connections for MICBIAS as this is something that's
> determined by the board design.  The board could for example use some
or
> all of the inputs as simple line inputs (no bias needed), or it could
> use an external MICBIAS for some reason.

OK, got it. Thanks.

BR,
Eric


More information about the Alsa-devel mailing list