ASoC: dapm: Add helpers to lock/unlock DAPM mutex
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Tue, 18 Feb 2014 15:22:13 +0000 (15:22 +0000)
committerMark Brown <broonie@linaro.org>
Thu, 20 Feb 2014 10:22:23 +0000 (19:22 +0900)
commitf6d5e586b416746664c01ab5d4b19ed5e2d1cbaa
tree4d76b984ffc8eb65631f639586bfe46f6eb29293
parente96cb48482f8852716d89d0e6baf6d2c425ae33e
ASoC: dapm: Add helpers to lock/unlock DAPM mutex

Acquiring the DAPM mutex is necessary before using several DAPM
functions and dereference is quite ugly. This patch provides a helper
function to simplify this.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/sound/soc.h