From: Lars-Peter Clausen Date: Wed, 24 Jul 2013 13:27:38 +0000 (+0200) Subject: ASoC: dapm: Add a update parameter to snd_soc_dapm_{mux,mixer}_update_power X-Git-Tag: v3.12-rc1~150^2~9^2~45^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b3fc03b3b614ced09df96ca60ab6f627d8c240c;p=pandora-kernel.git ASoC: dapm: Add a update parameter to snd_soc_dapm_{mux,mixer}_update_power In order to avoid race conditions the assignment of dapm->update should happen while card->dapm_mutex is being held. To allow CODEC drivers to run a register update when using snd_soc_dapm_mux_update_power() or snd_soc_dapm_mixer_update_power() add a update parameter to these two functions. The update parameter will be assigned to dapm->update while card->dapm_mutex is locked. Signed-off-by: Lars-Peter Clausen Signed-off-by: Mark Brown --- Reading git-diff-tree failed