Browse Source

Merge remote-tracking branch 'asoc/fix/wm8731' into asoc-linus

Mark Brown 10 năm trước cách đây
mục cha
commit
b2dde2f975
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      sound/soc/codecs/wm8731.c

+ 2 - 0
sound/soc/codecs/wm8731.c

@@ -717,6 +717,8 @@ static int wm8731_i2c_probe(struct i2c_client *i2c,
 	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);