Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Hans Verkuil and committed by
Tomi Valkeinen
1d54ecf2 f3096a4a

+2 -3
+2
drivers/gpu/drm/omapdrm/dss/hdmi4.c
··· 132 132 if (r) 133 133 goto err_runtime_get; 134 134 135 + hdmi4_core_powerdown_disable(&hdmi.core); 136 + 135 137 /* Make selection of HDMI in DSS */ 136 138 dss_select_hdmi_venc_clk_source(DSS_HDMI_M_PCLK); 137 139
-3
drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
··· 335 335 */ 336 336 hdmi_core_swreset_assert(core); 337 337 338 - /* power down off */ 339 - hdmi4_core_powerdown_disable(core); 340 - 341 338 v_core_cfg.pkt_mode = HDMI_PACKETMODE24BITPERPIXEL; 342 339 v_core_cfg.hdmi_dvi = cfg->hdmi_dvi_mode; 343 340