summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2014-01-09 14:29:52 -0700
committerPhilippe Schenker <philippe.schenker@toradex.com>2019-05-24 11:34:11 +0200
commiteb29df77a6df0ec6c92fb30fcf8d4f78375b2596 (patch)
treec02c0dca7d7a378a54f0e23157f2df4a31191907 /drivers/video
parent423c2799cb0e903f5c10bfd524a3a1ce8cbe79ed (diff)
mxc_hdmi: enable overflow interrupt after initialization complete
If enabled too early, a flood of interrupts can happen, and as console_lock is held, you cannot see any messages being printed. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com> (cherry picked from commit 38c65caf872e5f9534b7812395224670dd56c297) (cherry picked from commit 04abce77f44b3e61b0fe5db1b33109e68e6600bc)
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/fbdev/mxc/mxc_hdmi.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/fbdev/mxc/mxc_hdmi.c b/drivers/video/fbdev/mxc/mxc_hdmi.c
index b4e7c552a1eb..5ac2e2ef312f 100644
--- a/drivers/video/fbdev/mxc/mxc_hdmi.c
+++ b/drivers/video/fbdev/mxc/mxc_hdmi.c
@@ -1266,9 +1266,6 @@ static void mxc_hdmi_phy_init(struct mxc_hdmi *hdmi)
|| (hdmi->blank != FB_BLANK_UNBLANK))
return;
- if (!hdmi->hdmi_data.video_mode.mDVI)
- hdmi_enable_overflow_interrupts();
-
/*check csc whether needed activated in HDMI mode */
cscon = (isColorSpaceConversion(hdmi) &&
!hdmi->hdmi_data.video_mode.mDVI);
@@ -1285,6 +1282,8 @@ static void mxc_hdmi_phy_init(struct mxc_hdmi *hdmi)
}
hdmi->phy_enabled = true;
+ if (!hdmi->hdmi_data.video_mode.mDVI)
+ hdmi_enable_overflow_interrupts();
}
static void hdmi_config_AVI(struct mxc_hdmi *hdmi)