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>
Sun, 1 Apr 2012 10:28:23 +0000 (11:28 +0100)
commite06ab3b8e82c89a8ada25f61fbd9f02d6ca3103f
tree0672b6f7dc47588417293edf120744eb3a1bb615
parent49575fb52bf76bf48e2d29ff034e8dad8d7ba638
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