aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/exynos/exynos_drm_vidi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_drm_vidi.c b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
index 88dae6b012b3..dbbf2fc29ab6 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_vidi.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_vidi.c
@@ -533,6 +533,12 @@ static int vidi_store_connection(struct device *dev,
533 if (!ctx->raw_edid) 533 if (!ctx->raw_edid)
534 ctx->raw_edid = (struct edid *)fake_edid_info; 534 ctx->raw_edid = (struct edid *)fake_edid_info;
535 535
536 /* if raw_edid isn't same as fake data then it can't be tested. */
537 if (ctx->raw_edid != (struct edid *)fake_edid_info) {
538 DRM_DEBUG_KMS("edid data is not fake data.\n");
539 return -EINVAL;
540 }
541
536 DRM_DEBUG_KMS("requested connection.\n"); 542 DRM_DEBUG_KMS("requested connection.\n");
537 543
538 drm_helper_hpd_irq_event(ctx->subdrv.drm_dev); 544 drm_helper_hpd_irq_event(ctx->subdrv.drm_dev);