]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00215516 MX6x HDMI, keep HDMI HPD clock on when display blank
authorSandor Yu <R01008@freescale.com>
Mon, 2 Jul 2012 08:20:31 +0000 (16:20 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:55 +0000 (08:34 +0200)
HDMI Hotplug function should work when display blank,
So keep HDMI HPD clock on.

Signed-off-by: Sandor Yu <R01008@freescale.com>
drivers/video/mxc_hdmi.c

index 48ff32f68b5dfc2a2b1d2690e0deaef817ed8181..b096a881a7b2b1b43e66bb2781489951ec2ebab1 100644 (file)
@@ -2035,9 +2035,6 @@ static int mxc_hdmi_fb_event(struct notifier_block *nb,
 
                        hdmi->blank = *((int *)event->data);
 
-                       clk_enable(hdmi->hdmi_iahb_clk);
-                       clk_enable(hdmi->hdmi_isfr_clk);
-
                        mxc_hdmi_enable_pins(hdmi);
                        if (hdmi->fb_reg && hdmi->cable_plugin)
                                mxc_hdmi_setup(hdmi, val);
@@ -2049,9 +2046,6 @@ static int mxc_hdmi_fb_event(struct notifier_block *nb,
                        mxc_hdmi_disable_pins(hdmi);
                        mxc_hdmi_phy_disable(hdmi);
 
-                       clk_disable(hdmi->hdmi_iahb_clk);
-                       clk_disable(hdmi->hdmi_isfr_clk);
-
                        hdmi->blank = *((int *)event->data);
                } else
                        dev_dbg(&hdmi->pdev->dev,