Skip to content

Commit

Permalink
omapdrm: hdmi4: move hdmi4_core_powerdown_disable to hdmi_power_on_co…
Browse files Browse the repository at this point in the history
…re()

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>
  • Loading branch information
Hans Verkuil authored and Tomi Valkeinen committed Oct 12, 2017
1 parent f3096a4 commit 1d54ecf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/omapdrm/dss/hdmi4.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
3 changes: 0 additions & 3 deletions drivers/gpu/drm/omapdrm/dss/hdmi4_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,6 @@ void hdmi4_configure(struct hdmi_core_data *core,
*/
hdmi_core_swreset_assert(core);

/* power down off */
hdmi4_core_powerdown_disable(core);

v_core_cfg.pkt_mode = HDMI_PACKETMODE24BITPERPIXEL;
v_core_cfg.hdmi_dvi = cfg->hdmi_dvi_mode;

Expand Down

0 comments on commit 1d54ecf

Please sign in to comment.