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

Mark Brown broonie at opensource.wolfsonmicro.com
Mon Nov 28 19:10:52 CET 2011


On Mon, Nov 28, 2011 at 05:00:29PM +0000, Mark Brown wrote:
> On Mon, Nov 28, 2011 at 08:58:32AM -0800, Stephen Warren wrote:
> > Mark Brown wrote at Sunday, November 27, 2011 5:22 AM:

> > > -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),

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

> The wiring in the DAPM map is *much* more comprehensible.

Oh, and the other thing is that it means that your device tree wiring
doesn't need to do any Linux-specific stuff to do with the funny way
the widgets needed to be wired up or jump through hoops otherwise and
can just talk about the pin being connected.


More information about the Alsa-devel mailing list