diff options
| author | Jagan Teki <[email protected]> | 2024-01-17 13:21:38 +0530 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2024-04-21 09:07:00 +0200 |
| commit | 41524d7f3add5a58f2fd5951d0182d1e94dd3d03 (patch) | |
| tree | d6b00b98008e0c2a495d2c1e065c0350dee56122 /drivers | |
| parent | 25ca3314fbc6ad2c55201792605038aa491d1548 (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/video/rockchip/rk_hdmi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c index 044a29ee47a..9f907d9f015 100644 --- a/drivers/video/rockchip/rk_hdmi.c +++ b/drivers/video/rockchip/rk_hdmi.c @@ -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; } |
