]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8962: Move DSP enable lock to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:01:03 +0000 (17:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:08:27 +0000 (19:08 +0000)
commit623724259c24ad2396df0f6cd96e3e69c3335a7a
treedb829cd46dd0d15e10bd9912c689716bdcc89984
parented6a7832f3d8cf94570bdc8115a9787ebbcd1b5b
ASoC: wm8962: Move DSP enable lock to the driver level

The wm8962 uses the snd_soc_codec mutex to protect the wm8962_dsp2_ena_put()
function from concurrent execution. This patch moves that 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/wm8962.c