summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorOliver Brown <oliver.brown@nxp.com>2019-12-05 14:11:41 -0600
committerOliver Brown <oliver.brown@nxp.com>2019-12-17 18:39:05 -0600
commitc27cfde3b0aa427df24bab61c4cc4659bba617ef (patch)
treeec29cccfa62cb0c42c39f6f80f9acafe802f76a6 /drivers
parent1bac50b519ae95f92d0dcdfcf24797182ca1fa05 (diff)
MLK-22756 drm: imx: hdp: EDID read needs to re-enabled on plug out
The no_edid flag must be set back to false after a plugout event so the EDID read can be enabled for the nex plugin event Signed-off-by: Oliver Brown <oliver.brown@nxp.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/imx/hdp/imx-hdp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/imx/hdp/imx-hdp.c b/drivers/gpu/drm/imx/hdp/imx-hdp.c
index f39a20aabe2e..f40dd710af7c 100644
--- a/drivers/gpu/drm/imx/hdp/imx-hdp.c
+++ b/drivers/gpu/drm/imx/hdp/imx-hdp.c
@@ -1407,6 +1407,9 @@ static void hotplug_work_func(struct work_struct *work)
/* Cable Disconnedted */
DRM_INFO("HDMI/DP Cable Plug Out\n");
enable_irq(hdp->irq[HPD_IRQ_IN]);
+
+ /* Allow enable EDID read for next plug in event */
+ hdp->no_edid = false;
}
}