[alsa-devel] [PATCH] ASoC: wm2200: Provide platform data for MICBIAS configuration

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Feb 4 19:25:01 CET 2013


On Mon, Feb 04, 2013 at 06:10:03PM +0000, Chris Rattray wrote:

> +enum wm2200_mbias_lvl {
> +	WM2200_MBIAS_LVL_1V5 = 0,
> +	WM2200_MBIAS_LVL_1V8 = 1,
> +	WM2200_MBIAS_LVL_1V9 = 2,
> +	WM2200_MBIAS_LVL_2V0 = 3,
> +	WM2200_MBIAS_LVL_2V2 = 4,
> +	WM2200_MBIAS_LVL_2V4 = 5,
> +	WM2200_MBIAS_LVL_2V5 = 6,
> +	WM2200_MBIAS_LVL_2V6 = 7,
> +};

It would be better to specify this in terms of milivolts; this means
that if the user does not specify anything then we'll use the chip
default which should be sane and is generally the expected behaviour.
-------------- 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/20130204/cad61dd4/attachment.sig>


More information about the Alsa-devel mailing list