From: Sjoerd Simons Date: Sun, 28 Feb 2016 21:40:02 +0000 (+0100) Subject: rockchip: video: Lower hpd wait time X-Git-Tag: v2016.07~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=70c440e5bdca097915b71170f9532ae4faad735a;p=u-boot rockchip: video: Lower hpd wait time Waiting 30 seconds for the hpd to go high seems a bit much, especially on headless boots. Lowering the timeout to 300ms. Sending as RFC because frankly i don't know what a sensible timeout is here, but 30 seconds is clearly not it :) Signed-off-by: Sjoerd Simons Reviewed-by: Simon Glass Dropped RFC tag: Signed-off-by: Simon Glass --- diff --git a/drivers/video/rockchip/rk_hdmi.c b/drivers/video/rockchip/rk_hdmi.c index 8dd2c87090..7976c5e263 100644 --- a/drivers/video/rockchip/rk_hdmi.c +++ b/drivers/video/rockchip/rk_hdmi.c @@ -666,7 +666,7 @@ static int hdmi_wait_for_hpd(struct rk3288_hdmi *regs) if (hdmi_get_plug_in_status(regs)) return 0; udelay(100); - } while (get_timer(start) < 30000); + } while (get_timer(start) < 300); return -1; }