[alsa-devel] [PATCH] ASoC: sgtl5000: fix powerup/down of micbias-voltage

Mark Brown broonie at kernel.org
Thu Jan 11 16:07:04 CET 2018


On Thu, Jan 11, 2018 at 09:40:31AM +0100, fischerc at swissphone.de wrote:

> The mic-bias-voltage should get powered up/down automatically.
> Added missing DAPM_PRE and DAPM_POST widgets to fire up the mic_bias_event function.

> +	SND_SOC_DAPM_PRE("MIC_BIAS_PRE", mic_bias_event),
> +	SND_SOC_DAPM_POST("MIC_BIAS_POST", mic_bias_event),

I don't understand what this is intended to do.  The mic_bias_event()
callback is already hooked up to the Mic Bias supply widget, it should
be invoked whenever the bias is turned on and off already?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20180111/1f001a82/attachment.sig>


More information about the Alsa-devel mailing list