OMAPDSS: HDMI: remove extra poweroff
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 17 Oct 2014 10:55:08 +0000 (13:55 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 12 Nov 2014 11:40:26 +0000 (13:40 +0200)
hdmi_pll_enable powers off the PLL as the first thing it does. Right
after that, it enables the PLL powers.

The initial power-off is pointless, so let's remove it.

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

index c14c3d1..92d2225 100644 (file)
@@ -171,10 +171,6 @@ int hdmi_pll_enable(struct hdmi_pll_data *pll)
        struct hdmi_wp_data *wp = pll->wp;
        u16 r = 0;
 
-       r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF);
-       if (r)
-               return r;
-
        r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS);
        if (r)
                return r;