[alsa-devel] ASoC WM8510 Mic PGA problem

Mark Brown broonie at sirena.org.uk
Fri Oct 3 15:39:37 CEST 2008

On Fri, Oct 03, 2008 at 04:20:20PM +0300, ext-jukka.hynninen at vaisala.com wrote:

> I'm facing trouble with programmable mic gain stage and WM8510 ASoC
> driver. 

> First of all, the DAPM control "Mic PGA Switch" seems to be operating
> just the opposite way the codec datasheet suggests. I inverted the
> control with expected result, PGA now almost works.

Yes, that's right - good catch, thanks.  I will post a patch for this

> When I start capturing, the "Mic PGA" control is instantly turned off
> again. If I manually enable the control while the capture is running, it
> works just fine.

Could you expand on what you're seeing here - what exactly is the user
visible behaviour you observe?  Are you looking at dapm_widgets in sysfs
or something else?  Looking at the driver code the power management does
need some fixes but I'd like to confirm exactly what you're seeing
before looking at them.

It might help if you were able to provide your machine driver.

More information about the Alsa-devel mailing list