summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss/hdmi4.c
diff options
context:
space:
mode:
authorHans Verkuil <hansverk@cisco.com>2017-08-02 10:54:04 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2017-10-12 10:49:14 +0300
commit1d54ecf230029dccc97e26a520ed95b9b95ae0eb (patch)
tree58a20bbf68af0f06514d1503b36206617fa2441d /drivers/gpu/drm/omapdrm/dss/hdmi4.c
parentf3096a4adacd6b3d8197b18b5ad6fffda00983b2 (diff)
downloadlinux-1d54ecf230029dccc97e26a520ed95b9b95ae0eb.tar.gz
linux-1d54ecf230029dccc97e26a520ed95b9b95ae0eb.tar.bz2
linux-1d54ecf230029dccc97e26a520ed95b9b95ae0eb.zip
omapdrm: hdmi4: move hdmi4_core_powerdown_disable to hdmi_power_on_core()
Call hdmi4_core_powerdown_disable() in hdmi_power_on_core() to power up the HDMI core (needed for CEC). The same call can now be dropped in hdmi4_configure(). Signed-off-by: Hans Verkuil <hansverk@cisco.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss/hdmi4.c')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/hdmi4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4.c b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
index b5d78028024f..91c2a1e8b324 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi4.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
@@ -132,6 +132,8 @@ static int hdmi_power_on_core(struct omap_dss_device *dssdev)
if (r)
goto err_runtime_get;
+ hdmi4_core_powerdown_disable(&hdmi.core);
+
/* Make selection of HDMI in DSS */
dss_select_hdmi_venc_clk_source(DSS_HDMI_M_PCLK);