Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 371613
b: refs/heads/master
c: 11963a6
h: refs/heads/master
i:
  371611: 971dfbb
v: v3
  • Loading branch information
Vikas Sajjan authored and Inki Dae committed Apr 29, 2013
1 parent 5c472c7 commit fa7db11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 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: baa88c8313bfdb5086220cbd962a93617ee85a91
refs/heads/master: 11963a638f7ac30f926f4358f7f699828408bb96
13 changes: 5 additions & 8 deletions trunk/drivers/gpu/drm/exynos/exynos_drm_fimd.c
Original file line number Diff line number Diff line change
Expand Up @@ -801,18 +801,18 @@ static int fimd_clock(struct fimd_context *ctx, bool enable)
if (enable) {
int ret;

ret = clk_enable(ctx->bus_clk);
ret = clk_prepare_enable(ctx->bus_clk);
if (ret < 0)
return ret;

ret = clk_enable(ctx->lcd_clk);
ret = clk_prepare_enable(ctx->lcd_clk);
if (ret < 0) {
clk_disable(ctx->bus_clk);
clk_disable_unprepare(ctx->bus_clk);
return ret;
}
} else {
clk_disable(ctx->lcd_clk);
clk_disable(ctx->bus_clk);
clk_disable_unprepare(ctx->lcd_clk);
clk_disable_unprepare(ctx->bus_clk);
}

return 0;
Expand Down Expand Up @@ -996,9 +996,6 @@ static int fimd_remove(struct platform_device *pdev)
if (ctx->suspended)
goto out;

clk_disable(ctx->lcd_clk);
clk_disable(ctx->bus_clk);

pm_runtime_set_suspended(dev);
pm_runtime_put_sync(dev);

Expand Down

0 comments on commit fa7db11

Please sign in to comment.