]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/bridge: analogix_dp: Extend hpd check time to 100ms
authorLin Huang <hl@rock-chips.com>
Mon, 23 Apr 2018 10:49:44 +0000 (12:49 +0200)
committerAndrzej Hajda <a.hajda@samsung.com>
Tue, 24 Apr 2018 06:34:35 +0000 (08:34 +0200)
There was a 1ms delay to detect the hpd signal, which is too short to
detect a short pulse. This patch extends this delay to 100ms.

Cc: Stéphane Marchesin <marcheu@chromium.org>
Cc: 征增 王 <wzz@rock-chips.com>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Thierry Escande <thierry.escande@collabora.com>
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Archit Taneja <architt@codeaurora.org>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180423105003.9004-9-enric.balletbo@collabora.com
drivers/gpu/drm/bridge/analogix/analogix_dp_core.c

index 5957e23380711876418f5042b4f79cc7a63432b2..1f4f341490199a906214bf97406d84c7093f184b 100644 (file)
@@ -76,7 +76,7 @@ static int analogix_dp_detect_hpd(struct analogix_dp_device *dp)
                        return 0;
 
                timeout_loop++;
-               usleep_range(10, 11);
+               usleep_range(1000, 1100);
        }
 
        /*