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)
commitf9fa2b1855a9ece2ec2a4f54b7f9131cd89257d6
tree87484a2b131cc6f298fe2885545233ffdb5f2f3e
parent492c0a18b7b4f171b5af382541e72541de69f545
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