]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Sprinkle lockdep asserts through the code
authorMark Brown <broonie@linaro.org>
Thu, 6 Mar 2014 08:49:11 +0000 (16:49 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 10 Mar 2014 16:32:44 +0000 (16:32 +0000)
commit4d4ab8595d1be795cf876167b60c2edcf2179df6
tree87484a2b131cc6f298fe2885545233ffdb5f2f3e
parent9ad5d1467b04bcaf105ea8cd8e6030b36c66dbae
ASoC: dapm: Sprinkle lockdep asserts through the code

Try to spot locking issues by asserting that the DAPM mutex is held when
it should be. There's a bit of fun due to us not requiring the lock to be
held prior to the card being instantiated which mean we need to wrap the
assert in some paths and this isn't methodical by any stretch of the
imagination.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c