ASoC: wm8731: init mutex in i2c init path
authorManuel Lauss <manuel.lauss@gmail.com>
Mon, 19 Jan 2015 07:23:43 +0000 (08:23 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 27 Jan 2015 18:21:26 +0000 (18:21 +0000)
commit8a6cf30bf93df2c0f2637156e4a5070594bddebf
tree462c7752fbb8fb939477765cef9601198e1e753b
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ASoC: wm8731: init mutex in i2c init path

The I2C init path forgot to init the mutex, leading to an oops when
controls are accessed.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8731.c