mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
drm: bridge: synopsys: update mc_clkdis in dw_hdmi_bind
If vop return error when showing kernel logo, connector atomic flush will not be call, and mc_clkdis can not be updated. This patch update mc_clkdis in the dw_hdmi_bind, when phy clock is locked and HPD is connected. Change-Id: I1498d787a993961fe75236c309ecc3c898d611a4 Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
This commit is contained in:
@@ -3100,6 +3100,10 @@ __dw_hdmi_probe(struct platform_device *pdev,
|
||||
prod_id1 & HDMI_PRODUCT_ID1_HDCP ? "with" : "without",
|
||||
hdmi->phy.name);
|
||||
|
||||
ret = hdmi_readb(hdmi, HDMI_PHY_STAT0);
|
||||
if (ret & (HDMI_PHY_TX_PHY_LOCK | HDMI_PHY_HPD))
|
||||
hdmi->mc_clkdis = hdmi_readb(hdmi, HDMI_MC_CLKDIS);
|
||||
|
||||
init_hpd_work(hdmi);
|
||||
initialize_hdmi_ih_mutes(hdmi);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user