drm/msm/hdmi: partial revert for hdmi->power_on changes

hdmi->power_on is not properly set for pluggable platforms
leading to an incorrect return value from cable_status() call.
This partially reverts some changes from two previous commits
touching hdmi->power_on

Change-Id: Icd2d331eaed72950ab027424aaf9e1e6b901a205
Signed-off-by: Navid Bahrani <nbahrani@codeaurora.org>
This commit is contained in:
Navid Bahrani 2018-04-20 14:25:51 -07:00
parent ace014f81d
commit b0b537aaca
2 changed files with 1 additions and 2 deletions

View file

@ -3256,8 +3256,6 @@ int sde_hdmi_drm_init(struct sde_hdmi *display, struct drm_encoder *enc)
if (sde_kms->splash_info.handoff) {
sde_hdmi_bridge_power_on(hdmi->bridge);
hdmi->power_on = true;
} else {
hdmi->power_on = false;
}
mutex_unlock(&display->display_lock);

View file

@ -490,6 +490,7 @@ static void _sde_hdmi_bridge_pre_enable(struct drm_bridge *bridge)
if (!hdmi->power_on) {
_sde_hdmi_bridge_power_on(bridge);
hdmi->power_on = true;
}
if (phy)