summaryrefslogtreecommitdiffstats
path: root/drivers/video/rockchip
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2016-02-28 22:40:02 +0100
committerSimon Glass <sjg@chromium.org>2016-07-05 10:38:56 -0600
commit70c440e5bdca097915b71170f9532ae4faad735a (patch)
tree891d75485c5104971672dfcac9b20695313e552a /drivers/video/rockchip
parente8009beff6d5c55c1bf1ae8184791f167e6378b0 (diff)
downloadtalos-obmc-uboot-70c440e5bdca097915b71170f9532ae4faad735a.tar.gz
talos-obmc-uboot-70c440e5bdca097915b71170f9532ae4faad735a.zip
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 <sjoerd.simons@collabora.co.uk> Reviewed-by: Simon Glass <sjg@chromium.org> Dropped RFC tag: Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video/rockchip')
-rw-r--r--drivers/video/rockchip/rk_hdmi.c2
1 files changed, 1 insertions, 1 deletions
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;
}
OpenPOWER on IntegriCloud