diff options
author | Troy Kisky <troy.kisky@boundarydevices.com> | 2014-01-09 14:29:52 -0700 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-01-10 23:10:21 +0100 |
commit | 04abce77f44b3e61b0fe5db1b33109e68e6600bc (patch) | |
tree | f72e1ef715c00c81fd5b8b84d887b902fd0174ab /drivers/video | |
parent | de5231fc1c395c1b63f5aa81b818fc5fd5377568 (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)
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/mxc/mxc_hdmi.c | 5 |
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 7e1b0d55f20d..710aa6b2ca3d 100644 --- a/drivers/video/fbdev/mxc/mxc_hdmi.c +++ b/drivers/video/fbdev/mxc/mxc_hdmi.c @@ -1263,9 +1263,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); @@ -1282,6 +1279,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) |