drm/exynos: enable FIMD clocks
authorVikas Sajjan <vikas.sajjan@linaro.org>
Tue, 23 Apr 2013 11:49:50 +0000 (17:19 +0530)
committerInki Dae <inki.dae@samsung.com>
Mon, 29 Apr 2013 05:35:31 +0000 (14:35 +0900)
commit11963a638f7ac30f926f4358f7f699828408bb96
tree1923ee45cc7afe62b3689e1a9e6d64a1ee390b4a
parentbaa88c8313bfdb5086220cbd962a93617ee85a91
drm/exynos: enable FIMD clocks

Common Clock Framework introduced the need to prepare clocks before
enabling them, otherwise clk_enable() fails. This patch adds clk_prepare_enable
and clk_disable_unprepare() calls to the driver.
This patch also removes clk_disable() from fimd_remove() as it will be done
by pm_runtime_put_sync.

Signed-off-by: Vikas Sajjan <vikas.sajjan@linaro.org>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_fimd.c