ASoC: dapm: lock mixer & mux update power with DAPM mutex
authorLiam Girdwood <lrg@ti.com>
Wed, 7 Mar 2012 10:38:27 +0000 (10:38 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:21 +0000 (11:28 +0100)
commit4edbb34577c98297f958f131e093a150b9f3226f
treeab613ec2f17f5a7838ca226fc9cc5638234511b8
parenta73fb2df01866b772a48fab93401fe3edbe0b38d
ASoC: dapm: lock mixer & mux update power with DAPM mutex

Both snd_soc_dapm_mux_update_power() and snd_soc_dapm_mixer_update_power() can
be called internally within DAPM core (with DAPM mutex held) and externally.

Provide some wrappers so that external users of both functions do not have to
remember to hold the DAPM mutex.

Signed-off-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-dapm.c