[alsa-devel] [PATCH] ASoC: dapm: Make sure register value is in sync with DAPM kcontrol state

Mark Brown broonie at kernel.org
Mon Jun 9 21:57:52 CEST 2014


On Mon, Jun 09, 2014 at 02:20:29PM +0300, Jarkko Nikula wrote:
> Commit c9e065c27fe9 ("ASoC: dapm: Make sure to always update the DAPM graph
> in _put_volsw()") stopped updating register values in those cases where
> initial after boot state of kcontrol appears to not change but where
> register value still needs update because it is not in sync with the
> kcontrol state.

Applied, thanks.  One thing...

> -	int connect, change;
> +	int connect, change, reg_change = 0;

It's better not to mix initialisations in with other variable
declarations, it's a bit messy and marginally unclear.
-------------- 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/20140609/d4ff72da/attachment.sig>


More information about the Alsa-devel mailing list