Skip to content

Commit

Permalink
Revert "drm/exynos: prepare FIMD clocks"
Browse files Browse the repository at this point in the history
This reverts commit b4e3a3e.
  • Loading branch information
Inki Dae committed Apr 29, 2013
1 parent 36d9b15 commit baa88c8
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions drivers/gpu/drm/exynos/exynos_drm_fimd.c
Original file line number Diff line number Diff line change
Expand Up @@ -949,16 +949,6 @@ static int fimd_probe(struct platform_device *pdev)
return ret;
}

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

ret = clk_prepare(ctx->lcd_clk);
if (ret < 0) {
clk_unprepare(ctx->bus_clk);
return ret;
}

ctx->vidcon0 = pdata->vidcon0;
ctx->vidcon1 = pdata->vidcon1;
ctx->default_win = pdata->default_win;
Expand Down Expand Up @@ -1006,8 +996,8 @@ static int fimd_remove(struct platform_device *pdev)
if (ctx->suspended)
goto out;

clk_unprepare(ctx->lcd_clk);
clk_unprepare(ctx->bus_clk);
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 baa88c8

Please sign in to comment.