diff --git a/[refs] b/[refs] index 2c042214a6be..4411a8fc4106 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ef99e9b5a10086bcc529e6c0a11c6539caee8cd1 +refs/heads/master: 2c2749de118bd36645b3a4a56f0d8ef6d4fd09cf diff --git a/trunk/sound/soc/codecs/wm8711.c b/trunk/sound/soc/codecs/wm8711.c index effb14eee7d4..e2dba07f0260 100644 --- a/trunk/sound/soc/codecs/wm8711.c +++ b/trunk/sound/soc/codecs/wm8711.c @@ -439,7 +439,8 @@ static int wm8711_register(struct wm8711_priv *wm8711, if (wm8711_codec) { dev_err(codec->dev, "Another WM8711 is registered\n"); - return -EINVAL; + ret = -EINVAL; + goto err; } mutex_init(&codec->mutex);