ASoC: wm8958: Move DSP firmware lock to driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:01:02 +0000 (17:01 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:08:22 +0000 (19:08 +0000)
commitfabfad2f8b23529722c6ef5b3537c457e63d2c82
tree7328cbf46314fff70aacfe9089c3b74ee6285cd4
parent78660af7ba30e9d2cc9614465c8b65b3c85f49a9
ASoC: wm8958: Move DSP firmware lock to driver level

The wm8958 driver uses the snd_soc_codec mutex to protect the various
firmware pointers from concurrent assignment. 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/wm8958-dsp2.c
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.h