[alsa-devel] [PATCH 6/8] ASoC: Call snd_soc_dapm_new_widgets() only once during card initialization

Mark Brown broonie at kernel.org
Tue Aug 27 16:38:32 CEST 2013


On Tue, Aug 27, 2013 at 03:50:59PM +0200, Lars-Peter Clausen wrote:
> Each time snd_soc_dapm_new_widgets() is called it will instantiate all the
> widgets and routes that have been added so far and then power them. Doing this
> multiple times before the card is fully initialized and all widgets have been
> added can cause unnecessary and even invalid power state transitions which can
> result in extra register writes and and also might cause clicks and pops.

Applied, thanks.
-------------- 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/20130827/6e24eea8/attachment.sig>


More information about the Alsa-devel mailing list