Skip to content
Snippets Groups Projects
Commit 70c440e5 authored by Sjoerd Simons's avatar Sjoerd Simons Committed by Simon Glass
Browse files

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: default avatarSjoerd Simons <sjoerd.simons@collabora.co.uk>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
Dropped RFC tag:
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent e8009bef
No related branches found
No related tags found
No related merge requests found
...@@ -666,7 +666,7 @@ static int hdmi_wait_for_hpd(struct rk3288_hdmi *regs) ...@@ -666,7 +666,7 @@ static int hdmi_wait_for_hpd(struct rk3288_hdmi *regs)
if (hdmi_get_plug_in_status(regs)) if (hdmi_get_plug_in_status(regs))
return 0; return 0;
udelay(100); udelay(100);
} while (get_timer(start) < 30000); } while (get_timer(start) < 300);
return -1; return -1;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment