From: Tomi Valkeinen Date: Fri, 17 Oct 2014 10:55:08 +0000 (+0300) Subject: OMAPDSS: HDMI: remove extra poweroff X-Git-Tag: v3.19-rc1~121^2^2~23 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d13cbb32c50019b38fb3ab030a8ab435b6f2440a;p=karo-tx-linux.git OMAPDSS: HDMI: remove extra poweroff 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 --- diff --git a/drivers/video/fbdev/omap2/dss/hdmi_pll.c b/drivers/video/fbdev/omap2/dss/hdmi_pll.c index c14c3d132513..92d22252f86a 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi_pll.c +++ b/drivers/video/fbdev/omap2/dss/hdmi_pll.c @@ -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;