From: Tomi Valkeinen Date: Mon, 28 Oct 2013 09:47:31 +0000 (+0200) Subject: OMAPDSS: HDMI4: remove useless func calls X-Git-Tag: next-20140116~44^2^2~12 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f4f49c48b85babaf1a5d0082c30f11a8be3ce459;p=karo-tx-linux.git OMAPDSS: HDMI4: remove useless func calls 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 --- diff --git a/drivers/video/omap2/dss/hdmi4.c b/drivers/video/omap2/dss/hdmi4.c index 347e455370e8..c7fbe4d36041 100644 --- a/drivers/video/omap2/dss/hdmi4.c +++ b/drivers/video/omap2/dss/hdmi4.c @@ -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) {