]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02932d5577da81d78da310a5f36e242a928d9ab9
treeca45645d8a2fa9a3b8e3a3d851e831edd6c03361
parent53b2518e8e75bfd74de7d2e4783282923036466e
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