[alsa-devel] [PATCH v2 1/4] ASoC: tlv320aic31xx: Add basic codec driver implementation

Mark Brown broonie at kernel.org
Sun Mar 9 09:12:29 CET 2014


On Fri, Mar 07, 2014 at 02:53:15PM +0200, Jyri Sarha wrote:
> On 03/05/2014 03:55 AM, Mark Brown wrote:

> >>+	/* Mic Bias */
> >>+	SND_SOC_DAPM_SUPPLY("Mic Bias", SND_SOC_NOPM, 0, 0, mic_bias_event,
> >>+			    SND_SOC_DAPM_POST_PMU | SND_SOC_DAPM_PRE_PMD),

> >The idiomatic thing would be to use the pin name.

> In this case the mic bias comes out of the chip trough a separate
> pin and it is up to board designer to connect it with any (or all)
> of the three mic pins.

Yes, exactly - you should be using the name of the pin that supplies the
bias.  This is how essentially all microphone biases work.
-------------- 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/20140309/bc778873/attachment.sig>


More information about the Alsa-devel mailing list