Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110974
b: refs/heads/master
c: d280289
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and Jaroslav Kysela committed Sep 9, 2008
1 parent 457c442 commit b83052e
Show file tree
Hide file tree
Showing 2 changed files with 7 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: dfdf34bbcbb2687d3a5fa723279124df9e309195
refs/heads/master: d280289e799dcdf5913e8935bffe136d7594e26d
8 changes: 6 additions & 2 deletions trunk/sound/soc/s3c24xx/neo1973_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -717,12 +717,16 @@ static int __init neo1973_init(void)
neo1973_snd_devdata.dev = &neo1973_snd_device->dev;
ret = platform_device_add(neo1973_snd_device);

if (ret)
if (ret) {
platform_device_put(neo1973_snd_device);
return ret;
}

ret = i2c_add_driver(&lm4857_i2c_driver);
if (ret != 0)
if (ret != 0) {
printk(KERN_ERR "can't add i2c driver");
platform_device_unregister(neo1973_snd_device);
}

return ret;
}
Expand Down

0 comments on commit b83052e

Please sign in to comment.