Skip to contentSkip to conversation

media: synopsys: hdmirx: Fix HPD lane hold time

PATCH New Dmitry Osipenko 1 participant 1 message Mar 25

Subsystems (3)
lore
Share & tools
lore

Dmitry Osipenko

author maintainer
#0 lore raw

PATCH v2 1/1 media: synopsys: hdmirx: Fix HPD lane hold time

Increase time of holding HPD lane low by 50ms. This fixes EDID change not detected by source/display side.

Fixes 7b59b132ad43 ("media: platform: synopsys: Add support for HDMI input driver")

---

Changelog:

v2: - Corrected commit title prefix as was suggested by Sebastian Reichel
- Corrected mixed up s/sink/source/ in the commit message.

 drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/media/platform/synopsys/hdmirx/snps_hdmirx.c +2 -2
index 61ad20b18b8d..4c8957505a50 100644
@@ -506,9 +506,9 @@ static void hdmirx_hpd_ctrl(struct snps_hdmirx_dev *hdmirx_dev, bool en)
 	hdmirx_writel(hdmirx_dev, CORE_CONFIG,
 		      hdmirx_dev->hpd_trigger_level_high ? en : !en);
 
-	/* 100ms delay as per HDMI spec */
+	/* 100ms delay as per HDMI spec + extra 50ms to cover internal delay */
 	if (!en)
-		msleep(100);
+		msleep(100 + 50);
 }
 
 static void hdmirx_write_edid_data(struct snps_hdmirx_dev *hdmirx_dev,
Signature · 7 lines
2.53.0


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip