[alsa-devel] ASoC: wm9712: Microphone doesn't work, "Capture Volume" inverted

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Apr 26 19:20:10 CEST 2012


On Thu, Apr 26, 2012 at 03:49:02PM +0200, Christoph Fritz wrote:

> I added some printks into ac97_write() "sound/soc/codecs/wm9712.c" and
> when I do for example change "Item: Mic Boost [dB gain: 20.00] " I get
> this:

>  write  eh 8000  [6808]
>  write  eh 8000  [6888]

> but when I try to change "Mic Select Source" or "Item: Differential
> Source", nothing happens here.

Odd.  Can you see the write actually happening on the bus?

> Why is wm9712_enum[0] never used?

I rather imagine it's just a simple case of the feature having being
missed when the driver was implemented.

> Is "SOC_ENUM_SINGLE(0x5c, 8, 2, wm9712_diff_sel)," correct? Because of
> the ">> 1" shift in ac97_write() ?

What makes you think it might not be correct?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20120426/25eb4321/attachment.sig 


More information about the Alsa-devel mailing list