OMAPDSS: HDMI4: remove useless func calls
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 28 Oct 2013 09:47:31 +0000 (11:47 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 13 Jan 2014 10:19:51 +0000 (12:19 +0200)
For some reason the hdmi driver first turns off the video output when
it's about to enable the video output. This serves no purpose, and can
be removed.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi4.c

index 347e455..c7fbe4d 100644 (file)
@@ -148,8 +148,6 @@ static int hdmi_power_on_full(struct omap_dss_device *dssdev)
        if (r)
                return r;
 
-       dss_mgr_disable(mgr);
-
        p = &hdmi.cfg.timings;
 
        DSSDBG("hdmi_power_on x_res= %d y_res = %d\n", p->x_res, p->y_res);
@@ -158,8 +156,6 @@ static int hdmi_power_on_full(struct omap_dss_device *dssdev)
 
        hdmi_pll_compute(&hdmi.pll, clk_get_rate(hdmi.sys_clk), phy);
 
-       hdmi_wp_video_stop(&hdmi.wp);
-
        /* config the PLL and PHY hdmi_set_pll_pwrfirst */
        r = hdmi_pll_enable(&hdmi.pll, &hdmi.wp);
        if (r) {