[alsa-devel] [PATCH] ASoC: Add WM8962 microphone bias control

Liam Girdwood lrg at slimlogic.co.uk
Wed Oct 13 11:30:04 CEST 2010


On Tue, 2010-10-12 at 19:37 +0100, Mark Brown wrote:
> We unconditionally require SYSCLK since while only microphone detection
> specifically requires SYSCLK any actual use case would enable it via
> some other means but microphone detection may have nothing active other
> than the bias itself.
> 
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm8962.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
> index e5009d0..894d0cd 100644
> --- a/sound/soc/codecs/wm8962.c
> +++ b/sound/soc/codecs/wm8962.c
> @@ -2566,6 +2566,8 @@ static const struct snd_soc_dapm_route wm8962_intercon[] = {
>  	{ "MIXINR", "IN3R Switch", "IN3R" },
>  	{ "MIXINR", "PGA Switch", "INPGAR" },
>  
> +	{ "MICBIAS", NULL, "SYSCLK" },
> +
>  	{ "ADCL", NULL, "SYSCLK" },
>  	{ "ADCL", NULL, "TOCLK" },
>  	{ "ADCL", NULL, "MIXINL" },

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list