]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: wm5102: Move ultrasonic response settings lock to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:00:59 +0000 (17:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:07:57 +0000 (19:07 +0000)
commitd74bcaaeb66826192c9e361cbfe8fd1ffaccf74e
tree4ac29253fb66ed5644b57e65e7b1ae16c6ca3288
parent210a5fae55c05174b8a5b571b6698626b3ae35d3
ASoC: wm5102: Move ultrasonic response settings lock to the driver level

The wm5102 driver currently uses the snd_soc_codec mutex to protect its
ultrasonic response 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>
include/linux/mfd/arizona/core.h
sound/soc/codecs/arizona.c
sound/soc/codecs/wm5102.c