ASoC: wm8903: Move the deemph lock to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:01:01 +0000 (17:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:08:18 +0000 (19:08 +0000)
commit78660af7ba30e9d2cc9614465c8b65b3c85f49a9
treeca45645d8a2fa9a3b8e3a3d851e831edd6c03361
parenta51ff30f45473a80f78b2572666473887e010d91
ASoC: wm8903: Move the deemph lock to the driver level

The wm8903 uses the snd_soc_codec mutex to protect its deemph settings from
concurrent access. This patch moves this lock to the driver level. This will
allow us to eventually remove the snd_soc_codec mutex.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm8903.c