Skip to content

Commit

Permalink
Merge branch 'for-2.6.35' into for-2.6.36
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Jul 14, 2010
2 parents 0c74a93 + cecb66f commit 03b0dc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions sound/soc/codecs/wm8727.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ static __devinit int wm8727_platform_probe(struct platform_device *pdev)
goto err_codec;
}

return 0;

err_codec:
snd_soc_unregister_codec(codec);
err:
Expand Down
1 change: 0 additions & 1 deletion sound/soc/codecs/wm8988.c
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,6 @@ static int wm8988_register(struct wm8988_priv *wm8988,
ret = snd_soc_register_dai(&wm8988_dai);
if (ret != 0) {
dev_err(codec->dev, "Failed to register DAI: %d\n", ret);
snd_soc_unregister_codec(codec);
goto err_codec;
}

Expand Down

0 comments on commit 03b0dc0

Please sign in to comment.