[alsa-devel] [PATCH v4 1/3] ASoC: codecs: msm8916-wcd-analog: get micbias voltage from dt

Mark Brown broonie at kernel.org
Mon Aug 21 20:24:09 CEST 2017


On Thu, Aug 17, 2017 at 10:02:09AM +0200, srinivas.kandagatla at linaro.org wrote:

> +		/*
> +		 * Special headset needs MICBIAS as 2.7V so wait for
> +		 * 50 msec for the MICBIAS to reach 2.7 volts.
> +		 */
> +		if (wcd->micbias_mv >= 2700)
> +			msleep(50);

This doesn't sound like how ramping usually works?  Normally it'd be at
least somewhat proportional to voltage, a sudden cutoff like this seems
strange.  I'll apply but this looks like it needs fixing, please send an
incremental patch.
-------------- 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/20170821/1f4bc719/attachment.sig>


More information about the Alsa-devel mailing list