diff options
author | Rahul Sharma <rahul.sharma@samsung.com> | 2013-09-21 23:57:42 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2013-12-18 11:51:58 +0530 |
commit | b7f708451bf3e4d9dd24ecb94b324685a65505bb (patch) | |
tree | a0ea89a14e11d0be1479b2dde0fe7399fd8dcf39 | |
parent | 720998c0666fc0d395241639fd59dcc6b94dd47b (diff) |
drm/exynos: remove dummy hdmiphy clock
hdmiphy is a dummy clock which actually controls the PMU bit
to enable/disable hdmiphy (before CCF). This clock is cleaned
from the hdmi driver.
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com>
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r-- | drivers/gpu/drm/exynos/exynos_hdmi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 9c319f0cfea..9f5b5d21c32 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1452,6 +1452,7 @@ static void hdmi_poweron(struct hdmi_context *hdata) hdmi_phy_pow_ctrl_reg_writemask(hdata, PMU_HDMI_PHY_ENABLE, PMU_HDMI_PHY_CONTROL_MASK); + clk_prepare_enable(res->hdmi); clk_prepare_enable(res->sclk_hdmi); @@ -1476,8 +1477,10 @@ static void hdmi_poweroff(struct hdmi_context *hdata) clk_disable_unprepare(res->sclk_hdmi); clk_disable_unprepare(res->hdmi); + hdmi_phy_pow_ctrl_reg_writemask(hdata, PMU_HDMI_PHY_DISABLE, PMU_HDMI_PHY_CONTROL_MASK); + regulator_bulk_disable(res->regul_count, res->regul_bulk); mutex_lock(&hdata->hdmi_mutex); |