forked from luck/tmp_suning_uos_patched
Merge branch 'for-2.6.35' into for-2.6.36
This commit is contained in:
commit
03b0dc02cf
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user