ASoC: ab8500-codec: Move control lock to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:00:57 +0000 (17:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:07:42 +0000 (19:07 +0000)
commit52ef6284a840bdef50b6ed505bdda014dd769cab
tree5716d6946d75fe0d4fac228ed6a754dc98a6d146
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: ab8500-codec: Move control lock to the driver level

The ab8500 driver uses a driver specific lock to protect concurrent access
to some of the control put/get handlers and uses the snd_soc_codec mutex for
some others. This patch updates the driver to consistently use the driver
specific lock for all controls. This will allow us to eventually remove the
snd_soc_codec mutex.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/ab8500-codec.c