Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <tomi.valkeinen@ti.com>

-4
-4
drivers/video/fbdev/omap2/dss/hdmi_pll.c
··· 171 171 struct hdmi_wp_data *wp = pll->wp; 172 172 u16 r = 0; 173 173 174 - r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_ALLOFF); 175 - if (r) 176 - return r; 177 - 178 174 r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS); 179 175 if (r) 180 176 return r;