ASoC: dapm: Only lock CODEC for I/O if not using regmap
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 6 Mar 2012 23:58:22 +0000 (23:58 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 7 Mar 2012 11:53:00 +0000 (11:53 +0000)
commit66bf93212f19548f5ed221356b2d70189cc18254
tree3b246730d2ebcc65e4b3e192cb62ef65ee2d9ef1
parent96acc357bedad69fbc94d1b923a960af5a411c6f
ASoC: dapm: Only lock CODEC for I/O if not using regmap

If we do use regmap then regmap will take care of things for us. We
actually already have this check at a higher level for the current
users but this makes sure we do the right thing in the future too if
we need to.

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