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:
parent
ace014f81d
commit
b0b537aaca
2 changed files with 1 additions and 2 deletions
|
@ -3256,8 +3256,6 @@ int sde_hdmi_drm_init(struct sde_hdmi *display, struct drm_encoder *enc)
|
||||||
if (sde_kms->splash_info.handoff) {
|
if (sde_kms->splash_info.handoff) {
|
||||||
sde_hdmi_bridge_power_on(hdmi->bridge);
|
sde_hdmi_bridge_power_on(hdmi->bridge);
|
||||||
hdmi->power_on = true;
|
hdmi->power_on = true;
|
||||||
} else {
|
|
||||||
hdmi->power_on = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
mutex_unlock(&display->display_lock);
|
mutex_unlock(&display->display_lock);
|
||||||
|
|
|
@ -490,6 +490,7 @@ static void _sde_hdmi_bridge_pre_enable(struct drm_bridge *bridge)
|
||||||
|
|
||||||
if (!hdmi->power_on) {
|
if (!hdmi->power_on) {
|
||||||
_sde_hdmi_bridge_power_on(bridge);
|
_sde_hdmi_bridge_power_on(bridge);
|
||||||
|
hdmi->power_on = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (phy)
|
if (phy)
|
||||||
|
|
Loading…
Add table
Reference in a new issue