]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit326232f8b1e238b834abe9be885f863a3dbe98fe
tree3b246730d2ebcc65e4b3e192cb62ef65ee2d9ef1
parent8d5924bb213ee0685e495348830cd09fea10f71b
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