From 53b99e055cd47411c71767f873cefc6d0c98171e Mon Sep 17 00:00:00 2001 From: Andrzej Hajda Date: Fri, 21 Oct 2016 14:14:37 +0200 Subject: drm/exynos/hdmi: move hdmi_start to hdmi_mode_apply hdmi_start is called for both variants. Change-Id: I6da89cf21599a760c793121f3ae637eca7cc77ff Signed-off-by: Andrzej Hajda --- drivers/gpu/drm/exynos/exynos_hdmi.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c index 396fad51e840..ea70e0d33181 100644 --- a/drivers/gpu/drm/exynos/exynos_hdmi.c +++ b/drivers/gpu/drm/exynos/exynos_hdmi.c @@ -1659,10 +1659,6 @@ static void hdmi_v13_mode_apply(struct hdmi_context *hdata) hdmi_reg_writev(hdata, HDMI_TG_VSYNC_BOT_HDMI_L, 2, 0x233); hdmi_reg_writev(hdata, HDMI_TG_FIELD_TOP_HDMI_L, 2, 0x1); hdmi_reg_writev(hdata, HDMI_TG_FIELD_BOT_HDMI_L, 2, 0x233); - - - /* enable HDMI and timing generator */ - hdmi_start(hdata, true); } static void hdmi_v14_mode_apply(struct hdmi_context *hdata) @@ -1782,9 +1778,6 @@ static void hdmi_v14_mode_apply(struct hdmi_context *hdata) if (hdata->drv_data == &exynos5430_hdmi_driver_data) hdmi_reg_writeb(hdata, HDMI_TG_DECON_EN, 1); - - /* enable HDMI and timing generator */ - hdmi_start(hdata, true); } static void hdmi_mode_apply(struct hdmi_context *hdata) @@ -1793,6 +1786,8 @@ static void hdmi_mode_apply(struct hdmi_context *hdata) hdmi_v13_mode_apply(hdata); else hdmi_v14_mode_apply(hdata); + + hdmi_start(hdata, true); } static void hdmiphy_conf_reset(struct hdmi_context *hdata) -- cgit v1.2.3