Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132844
b: refs/heads/master
c: d694354
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Feb 18, 2009
1 parent cd12467 commit 2693ab0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: 22d22ee5146ae823b1e93fe2887a7cba56015091
refs/heads/master: d6943541158985030108e4a0a483cdadc3c80ee1
7 changes: 3 additions & 4 deletions trunk/sound/soc/atmel/sam9g20_wm8731.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ static int __init at91sam9g20ek_init(void)
*/
ssc = ssc_request(0);
if (IS_ERR(ssc)) {
printk(KERN_ERR "ASoC: Failed to request SSC 0\n");
ret = PTR_ERR(ssc);
ssc = NULL;
goto err_ssc;
Expand All @@ -281,8 +282,7 @@ static int __init at91sam9g20ek_init(void)

at91sam9g20ek_snd_device = platform_device_alloc("soc-audio", -1);
if (!at91sam9g20ek_snd_device) {
printk(KERN_DEBUG
"platform device allocation failed\n");
printk(KERN_ERR "ASoC: Platform device allocation failed\n");
ret = -ENOMEM;
}

Expand All @@ -292,8 +292,7 @@ static int __init at91sam9g20ek_init(void)

ret = platform_device_add(at91sam9g20ek_snd_device);
if (ret) {
printk(KERN_DEBUG
"platform device allocation failed\n");
printk(KERN_ERR "ASoC: Platform device allocation failed\n");
platform_device_put(at91sam9g20ek_snd_device);
}

Expand Down

0 comments on commit 2693ab0

Please sign in to comment.