ASoC: wm5102: Initialize dac_comp_lock mutex
authorMark Brown <broonie@kernel.org>
Fri, 5 Dec 2014 20:06:31 +0000 (20:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 8 Dec 2014 13:08:42 +0000 (13:08 +0000)
commit47370022d2ca552ab524bb14211fefa3a2518ba8
tree04bf94ef927205c883163d52b245512dd8e8be82
parentbd6b87c104bae49816808fde5f55a262093e85ed
ASoC: wm5102: Initialize dac_comp_lock mutex

Commit d74bcaaeb6682 (ASoC: wm5102: Move ultrasonic response settings
lock to the driver level) created a driver local mutex for protecting
the ultrasonic response settings but neglected to initialize that mutex,
causing loud complaints from lockep and potential runtime failures. Fix
this by initializing the mutex.

Signed-off-by: Mark Brown <broonie@kernel.org>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
sound/soc/codecs/wm5102.c