]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f1285be78807d4ce77599251417e49fc9d4675f
tree4d76b984ffc8eb65631f639586bfe46f6eb29293
parent96b046274e8e604dc9b971f0acee980453c4cd32
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