Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357316
b: refs/heads/master
c: 15514fb
h: refs/heads/master
v: v3
  • Loading branch information
Tony Prisk authored and Mauro Carvalho Chehab committed Jan 6, 2013
1 parent 3d7311d commit 3e0f2ed
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d322bb915425b65a51c48b90e912af55762cc745
refs/heads/master: 15514fb567728b236dfbedeb360f55791302bf6e
4 changes: 2 additions & 2 deletions trunk/drivers/media/platform/s5p-g2d/g2d.c
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ static int g2d_probe(struct platform_device *pdev)
}

dev->clk = clk_get(&pdev->dev, "sclk_fimg2d");
if (IS_ERR_OR_NULL(dev->clk)) {
if (IS_ERR(dev->clk)) {
dev_err(&pdev->dev, "failed to get g2d clock\n");
return -ENXIO;
}
Expand All @@ -727,7 +727,7 @@ static int g2d_probe(struct platform_device *pdev)
}

dev->gate = clk_get(&pdev->dev, "fimg2d");
if (IS_ERR_OR_NULL(dev->gate)) {
if (IS_ERR(dev->gate)) {
dev_err(&pdev->dev, "failed to get g2d clock gate\n");
ret = -ENXIO;
goto unprep_clk;
Expand Down

0 comments on commit 3e0f2ed

Please sign in to comment.