Merge branch 'for-2.6.35' into for-2.6.36

This commit is contained in:
Mark Brown 2010-07-14 20:12:57 +01:00
commit 03b0dc02cf
2 changed files with 2 additions and 1 deletions

View File

@ -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:

View File

@ -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;
}