forked from libretro/Lakka-LibreELEC
32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From 62c1852bc0f94efb6884d34c2c27dcf1efa3b282 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Zhuravlevich <zhurxx@gmail.com>
|
|
Date: Tue, 12 May 2020 14:23:15 +0200
|
|
Subject: [PATCH 04/49] MLK-24065-2: drm: bridge: cadence: print error when
|
|
clock recovery fails
|
|
|
|
Signed-off-by: Sergey Zhuravlevich <zhurxx@gmail.com>
|
|
Acked-by: Sandor Yu <sandor.yu@nxp.com>
|
|
Tested-By: Sandor Yu <sandor.yu@nxp.com>
|
|
---
|
|
drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
|
|
index f025c39d12ea..a032e19765a4 100644
|
|
--- a/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
|
|
+++ b/drivers/gpu/drm/bridge/cadence/cdns-mhdp-dp.c
|
|
@@ -106,7 +106,9 @@ static int cdns_mhdp_training_start(struct cdns_mhdp_device *mhdp)
|
|
if (ret)
|
|
goto err_training_start;
|
|
|
|
- if (event[1] & EQ_PHASE_FINISHED)
|
|
+ if (event[1] & CLK_RECOVERY_FAILED)
|
|
+ DRM_DEV_ERROR(mhdp->dev, "clock recovery failed\n");
|
|
+ else if (event[1] & EQ_PHASE_FINISHED)
|
|
return 0;
|
|
}
|
|
|
|
--
|
|
2.29.2
|
|
|