mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-25 03:46:19 +00:00
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 42394af5975326eb20901d65eac47963847006e2 Mon Sep 17 00:00:00 2001
|
|
From: Sandor Yu <Sandor.yu@nxp.com>
|
|
Date: Fri, 19 Feb 2021 16:41:31 +0800
|
|
Subject: [PATCH 27/49] LF-3367-2: drm: mhdp: more time for FW alive check
|
|
|
|
FW alive check function may return false in hdcp enable/disable stress test.
|
|
Add more time for FW alive check, make sure get correct state.
|
|
|
|
Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
|
|
Reviewed-by: Robby Cai <robby.cai@nxp.com>
|
|
Acked-by: Jason Liu <jason.hui.liu@nxp.com>
|
|
---
|
|
drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c
|
|
index 2a8ab0872f25..3487a2fa335c 100644
|
|
--- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c
|
|
+++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-common.c
|
|
@@ -142,7 +142,7 @@ bool cdns_mhdp_check_alive(struct cdns_mhdp_device *mhdp)
|
|
alive = cdns_mhdp_bus_read(mhdp, KEEP_ALIVE);
|
|
|
|
while (retries_left--) {
|
|
- udelay(2);
|
|
+ msleep(1);
|
|
|
|
newalive = cdns_mhdp_bus_read(mhdp, KEEP_ALIVE);
|
|
if (alive == newalive)
|
|
--
|
|
2.29.2
|
|
|