[alsa-devel] [PATCH] ASoC: Convert WM8903 MICBIAS to a supply widget

Stephen Warren swarren at nvidia.com
Mon Nov 28 17:58:32 CET 2011


Mark Brown wrote at Sunday, November 27, 2011 5:22 AM:
> Also rename it to MICBIAS to reflect the pin name and help any out of tree
> users notice the change.
...
> diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c
...
> -SND_SOC_DAPM_MICBIAS("Mic Bias", WM8903_MIC_BIAS_CONTROL_0, 0, 0),
> +SND_SOC_DAPM_SUPPLY("MICBIAS", WM8903_MIC_BIAS_CONTROL_0, 0, 0, NULL, 0),

Acked-by: Stephen Warren <swarren at nvidia.com>

For my education, why is this better modeled as a supply instead of a
mic bias? Thanks.

-- 
nvpublic



More information about the Alsa-devel mailing list