Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283897
b: refs/heads/master
c: 8faab94
h: refs/heads/master
i:
  283895: c8173cb
v: v3
  • Loading branch information
Axel Lin authored and Mark Brown committed Dec 7, 2011
1 parent 219a111 commit f87767e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ff7ada748fe2f74f525893577c4418bfdaf6d4f
refs/heads/master: 8faab941bec7af1c1865db316ac2f37c78071271
6 changes: 4 additions & 2 deletions trunk/sound/soc/pxa/e800_wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ static int __init e800_init(void)
goto free_spk_amp_gpio;

e800_snd_device = platform_device_alloc("soc-audio", -1);
if (!e800_snd_device)
return -ENOMEM;
if (!e800_snd_device) {
ret = -ENOMEM;
goto free_spk_amp_gpio;
}

platform_set_drvdata(e800_snd_device, &e800);
ret = platform_device_add(e800_snd_device);
Expand Down

0 comments on commit f87767e

Please sign in to comment.