ASoC: wm8731: Move the deemph lock to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:01:00 +0000 (17:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:08:09 +0000 (19:08 +0000)
commita51ff30f45473a80f78b2572666473887e010d91
treef429e889570a25141de5b6fab8f63e1ba75cadf3
parentd74bcaaeb66826192c9e361cbfe8fd1ffaccf74e
ASoC: wm8731: Move the deemph lock to the driver level

The wm8731 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/wm8731.c