Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 375009
b: refs/heads/master
c: 348c342
h: refs/heads/master
i:
  375007: 45385aa
v: v3
  • Loading branch information
Wei Yongjun authored and Tony Lindgren committed May 8, 2013
1 parent 327e29a commit b3fe1f6
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e7e17c538604928b98107a08c2c5dc54745d85fe
refs/heads/master: 348c34225d4395b769ec6d283b0c7ace0b430a38
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-omap1/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,15 +301,15 @@ static int __init omap1_system_dma_init(void)
if (ret) {
dev_err(&pdev->dev, "%s: Unable to add resources for %s%d\n",
__func__, pdev->name, pdev->id);
goto exit_device_put;
goto exit_iounmap;
}

p = kzalloc(sizeof(struct omap_system_dma_plat_info), GFP_KERNEL);
if (!p) {
dev_err(&pdev->dev, "%s: Unable to allocate 'p' for %s\n",
__func__, pdev->name);
ret = -ENOMEM;
goto exit_device_del;
goto exit_iounmap;
}

d = kzalloc(sizeof(struct omap_dma_dev_attr), GFP_KERNEL);
Expand Down Expand Up @@ -402,8 +402,8 @@ static int __init omap1_system_dma_init(void)
kfree(d);
exit_release_p:
kfree(p);
exit_device_del:
platform_device_del(pdev);
exit_iounmap:
iounmap(dma_base);
exit_device_put:
platform_device_put(pdev);

Expand Down

0 comments on commit b3fe1f6

Please sign in to comment.