drm/bridge: synopsys: dw-hdmi: disable phy in dw_hdmi_bind

If hdmi is enabled in uboot and pluged out when booting kernel,
the hdmi phy is still enabled. It's better to disable it to
match the real status.

Change-Id: Ia1c5ede6499ee277d08c35a85c50e3257305f90f
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
Zheng Yang
2018-03-01 14:24:33 +08:00
committed by Tao Huang
parent bad1e2e612
commit 42537c5ca8

View File

@@ -3107,6 +3107,8 @@ __dw_hdmi_probe(struct platform_device *pdev,
hdmi->disabled = false;
hdmi->bridge_is_on = true;
hdmi->phy.enabled = true;
} else if (ret & HDMI_PHY_TX_PHY_LOCK) {
hdmi->phy.ops->disable(hdmi, hdmi->phy.data);
}
init_hpd_work(hdmi);