[alsa-devel] [PATCH] ASoC: Fix maximum value for microphone gain

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Dec 24 16:29:14 CET 2012


On Sun, Dec 23, 2012 at 03:41:19PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam at freescale.com>
> 
> sgtl5000 microphone gain only has 2 bits of resolution, so maximum value is 3.
> 
> From Eric Nelson:
> "We also found that for the microphones we have here (commodity PC boom mics) a 
> default value of 2 for the gain gives the best results."
> 
> So change the default microphone gain as well.

The first bit is fine but the default change is not generally the sort
of thing we do in ASoC - we generally go with the chip defaults, it
saves on going round in circles arguing about what the defaults should
be.  Why would other systems not want a different default?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20121224/6b02cd85/attachment.sig>


More information about the Alsa-devel mailing list