ASoC: max98095: Move mutex to the driver level
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 9 Nov 2014 16:00:58 +0000 (17:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 10 Nov 2014 19:07:42 +0000 (19:07 +0000)
commit210a5fae55c05174b8a5b571b6698626b3ae35d3
treedb068bc9971ca528f8b25659ebcc5d42053c26f9
parent52ef6284a840bdef50b6ed505bdda014dd769cab
ASoC: max98095: Move mutex to the driver level

The max98095 uses the snd_soc_codec mutex to protect against concurrent
access in some of its control put handlers. Move this mutex to the driver
level so we can eventually remove the snd_soc_codec mutex.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98095.c