mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user