video: rockchip: hdmi: Detect hpd after controller init
HDP is a hardware connector event, so detect the same once the controller and attached PHY initialization are done. Signed-off-by: Jagan Teki <jagan@edgeble.ai>
This commit is contained in:
committed by
Anatolij Gustschin
parent
25ca3314fb
commit
41524d7f3a
@@ -111,14 +111,14 @@ int rk_hdmi_probe(struct udevice *dev)
|
||||
struct dw_hdmi *hdmi = &priv->hdmi;
|
||||
int ret;
|
||||
|
||||
dw_hdmi_init(hdmi);
|
||||
dw_hdmi_phy_init(hdmi);
|
||||
|
||||
ret = dw_hdmi_phy_wait_for_hpd(hdmi);
|
||||
if (ret < 0) {
|
||||
debug("hdmi can not get hpd signal\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
dw_hdmi_init(hdmi);
|
||||
dw_hdmi_phy_init(hdmi);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user