Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 345538
b: refs/heads/master
c: dc62553
h: refs/heads/master
v: v3
  • Loading branch information
Sachin Kamat authored and Inki Dae committed Dec 5, 2012
1 parent 3e88f90 commit 8310059
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 640631d04cd2cfbb4792d6a8fc5fcab14ee273a5
refs/heads/master: dc625537f7d4301a7e3f6a8476bd624b09508488
4 changes: 1 addition & 3 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_g2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ static int __devinit g2d_probe(struct platform_device *pdev)
mutex_init(&g2d->cmdlist_mutex);
mutex_init(&g2d->runqueue_mutex);

g2d->gate_clk = clk_get(dev, "fimg2d");
g2d->gate_clk = devm_clk_get(dev, "fimg2d");
if (IS_ERR(g2d->gate_clk)) {
dev_err(dev, "failed to get gate clock\n");
ret = PTR_ERR(g2d->gate_clk);
Expand Down Expand Up @@ -1181,7 +1181,6 @@ static int __devinit g2d_probe(struct platform_device *pdev)

err_put_clk:
pm_runtime_disable(dev);
clk_put(g2d->gate_clk);
err_destroy_workqueue:
destroy_workqueue(g2d->g2d_workq);
err_destroy_slab:
Expand All @@ -1202,7 +1201,6 @@ static int __devexit g2d_remove(struct platform_device *pdev)
}

pm_runtime_disable(&pdev->dev);
clk_put(g2d->gate_clk);

g2d_fini_cmdlist(g2d);
destroy_workqueue(g2d->g2d_workq);
Expand Down

0 comments on commit 8310059

Please sign in to comment.