]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/exynos: prepare FIMD clocks
authorVikas Sajjan <vikas.sajjan@linaro.org>
Mon, 8 Apr 2013 11:07:45 +0000 (16:37 +0530)
committerInki Dae <daeinki@gmail.com>
Sat, 20 Apr 2013 15:04:25 +0000 (00:04 +0900)
commitb4e3a3e844a0e33cf106a1c9f27ff93340c37640
treea0631bfee37ee9dcc6f787bacd685a8e020416f9
parentdd4d34fde068a9362d09292d881ce4743bb11c7f
drm/exynos: prepare FIMD clocks

While migrating to common clock framework (CCF), I found that the FIMD clocks
were pulled down by the CCF.
If CCF finds any clock(s) which has NOT been claimed by any of the
drivers, then such clock(s) are PULLed low by CCF.

Calling clk_prepare() for FIMD clocks fixes the issue.

This patch also replaces clk_disable() with clk_unprepare() during exit, since
clk_prepare() is called in fimd_probe().

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