This is a note to let you know that I've just added the patch titled
ASoC: wm8731: init mutex in i2c init path
to the 3.18-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
asoc-wm8731-init-mutex-in-i2c-init-path.patch
and it can be found in the queue-3.18 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From 8a6cf30bf93df2c0f2637156e4a5070594bddebf Mon Sep 17 00:00:00 2001
From: Manuel Lauss <[email protected]>
Date: Mon, 19 Jan 2015 08:23:43 +0100
Subject: ASoC: wm8731: init mutex in i2c init path
From: Manuel Lauss <[email protected]>
commit 8a6cf30bf93df2c0f2637156e4a5070594bddebf upstream.
The I2C init path forgot to init the mutex, leading to an oops when
controls are accessed.
Signed-off-by: Manuel Lauss <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
sound/soc/codecs/wm8731.c | 2 ++
1 file changed, 2 insertions(+)
--- a/sound/soc/codecs/wm8731.c
+++ b/sound/soc/codecs/wm8731.c
@@ -734,6 +734,8 @@ static int wm8731_i2c_probe(struct i2c_c
if (wm8731 == NULL)
return -ENOMEM;
+ mutex_init(&wm8731->lock);
+
wm8731->regmap = devm_regmap_init_i2c(i2c, &wm8731_regmap);
if (IS_ERR(wm8731->regmap)) {
ret = PTR_ERR(wm8731->regmap);
Patches currently in stable-queue which might be from [email protected] are
queue-3.18/asoc-wm8731-init-mutex-in-i2c-init-path.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html