[alsa-devel] [PATCH] ASoC: sgtl5000: Enable VAG when DAC/ADC up

Shawn Guo shawn.guo at linaro.org
Thu Mar 29 16:04:23 CEST 2012


On Thu, Mar 29, 2012 at 11:58:32AM +0100, Mark Brown wrote:
> On Thu, Mar 29, 2012 at 03:17:00PM +0800, Zeng Zhaoming wrote:
> 
> > So the code should be:
> > +      {"MIC_IN", NULL, "Mic Bias},	       /* mic bias --> mic_in */
> >        {"Capture Mux", "MIC_IN", "MIC_IN"},    /* mic_in --> adc_mux */
> > -+     {"Mic Bias", NULL, "MIC_IN"},           /* mic_in --> mic bias */
> > -+     {"Capture Mux", "MIC_IN", "Mic Bias"},  /* mic bias --> adc_mux */
> 
> > and platform code
> > +      {"Mic Bias", NULL, "MIC"},
> > -      {"MIC_IN", NULL, "MIC"},
> 
> No, the bias should be a supply for the microphone - ensuring that this
> happens is the whole point of the patch I sent the other day.

The "MIC" above is confusing.  I guess the following that I have in
machine driver might be a little clearer.

        {"Mic Bias", NULL, "Mic Jack"},
        {"MIC_IN", NULL, "Mic Bias"},

And I need to present it in device tree though.

-- 
Regards,
Shawn


More information about the Alsa-devel mailing list