mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
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>
This commit is contained in:
parent
c2fbd061a2
commit
d13cbb32c5
@ -171,10 +171,6 @@ int hdmi_pll_enable(struct hdmi_pll_data *pll)
|
|||||||
struct hdmi_wp_data *wp = pll->wp;
|
struct hdmi_wp_data *wp = pll->wp;
|
||||||
u16 r = 0;
|
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);
|
r = hdmi_wp_set_pll_pwr(wp, HDMI_PLLPWRCMD_BOTHON_ALLCLKS);
|
||||||
if (r)
|
if (r)
|
||||||
return r;
|
return r;
|
||||||
|
Loading…
Reference in New Issue
Block a user