Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333753
b: refs/heads/master
c: 2c4c03f
h: refs/heads/master
i:
  333751: 256bba5
v: v3
  • Loading branch information
Thomas Abraham authored and Mauro Carvalho Chehab committed Oct 6, 2012
1 parent d74c3b8 commit 2b8e855
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 1309b33683addabe4700e0bcce422de70f6dc4c8
refs/heads/master: 2c4c03f3819dc6c0e294d47558ed8c07cd3fb15e
6 changes: 3 additions & 3 deletions trunk/drivers/media/platform/s5p-jpeg/jpeg-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@ static int s5p_jpeg_probe(struct platform_device *pdev)
return ret;
}
dev_dbg(&pdev->dev, "clock source %p\n", jpeg->clk);
clk_enable(jpeg->clk);
clk_prepare_enable(jpeg->clk);

/* v4l2 device */
ret = v4l2_device_register(&pdev->dev, &jpeg->v4l2_dev);
Expand Down Expand Up @@ -1460,7 +1460,7 @@ static int s5p_jpeg_probe(struct platform_device *pdev)
v4l2_device_unregister(&jpeg->v4l2_dev);

clk_get_rollback:
clk_disable(jpeg->clk);
clk_disable_unprepare(jpeg->clk);
clk_put(jpeg->clk);

return ret;
Expand All @@ -1480,7 +1480,7 @@ static int s5p_jpeg_remove(struct platform_device *pdev)
v4l2_m2m_release(jpeg->m2m_dev);
v4l2_device_unregister(&jpeg->v4l2_dev);

clk_disable(jpeg->clk);
clk_disable_unprepare(jpeg->clk);
clk_put(jpeg->clk);

return 0;
Expand Down

0 comments on commit 2b8e855

Please sign in to comment.