Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168909
b: refs/heads/master
c: 055e05a
h: refs/heads/master
i:
  168907: 10ee5d7
v: v3
  • Loading branch information
Kuninori Morimoto authored and Mauro Carvalho Chehab committed Nov 26, 2009
1 parent 21268f0 commit 47cef95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 64ff9ba5f1d771e8405ec766c31f6b32c9708285
refs/heads/master: 055e05a08b462feabbd6b7a33fd2b9f1f23d4476
5 changes: 4 additions & 1 deletion trunk/drivers/media/video/sh_mobile_ceu_camera.c
Original file line number Diff line number Diff line change
Expand Up @@ -1724,10 +1724,12 @@ static int __devinit sh_mobile_ceu_probe(struct platform_device *pdev)

err = soc_camera_host_register(&pcdev->ici);
if (err)
goto exit_free_irq;
goto exit_free_clk;

return 0;

exit_free_clk:
pm_runtime_disable(&pdev->dev);
exit_free_irq:
free_irq(pcdev->irq, pcdev);
exit_release_mem:
Expand All @@ -1748,6 +1750,7 @@ static int __devexit sh_mobile_ceu_remove(struct platform_device *pdev)
struct sh_mobile_ceu_dev, ici);

soc_camera_host_unregister(soc_host);
pm_runtime_disable(&pdev->dev);
free_irq(pcdev->irq, pcdev);
if (platform_get_resource(pdev, IORESOURCE_MEM, 1))
dma_release_declared_memory(&pdev->dev);
Expand Down

0 comments on commit 47cef95

Please sign in to comment.