diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-03-24 09:46:33 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-06-17 08:44:29 -0400 |
commit | 9bba13f0d74cea808f417370961bb3421a09bcb6 (patch) | |
tree | 76eaef9b429483a38549cb2e2d0c578960d1629b /drivers/video | |
parent | e4c5ae7fdfa6cae39b458abb99ed669ba3c19af0 (diff) |
OMAPDSS: HDMI4: fix error handling
Error handling in hdmi_power_on_full() is not correct, and could leave
resources unfreed.
Fix this by arranging the error labels correctly.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/hdmi4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/omap2/dss/hdmi4.c b/drivers/video/fbdev/omap2/dss/hdmi4.c index 916d47978f41..e1345abd41bb 100644 --- a/drivers/video/fbdev/omap2/dss/hdmi4.c +++ b/drivers/video/fbdev/omap2/dss/hdmi4.c | |||
@@ -229,9 +229,9 @@ static int hdmi_power_on_full(struct omap_dss_device *dssdev) | |||
229 | err_mgr_enable: | 229 | err_mgr_enable: |
230 | hdmi_wp_video_stop(&hdmi.wp); | 230 | hdmi_wp_video_stop(&hdmi.wp); |
231 | err_vid_enable: | 231 | err_vid_enable: |
232 | err_phy_cfg: | ||
233 | hdmi_wp_set_phy_pwr(&hdmi.wp, HDMI_PHYPWRCMD_OFF); | 232 | hdmi_wp_set_phy_pwr(&hdmi.wp, HDMI_PHYPWRCMD_OFF); |
234 | err_phy_pwr: | 233 | err_phy_pwr: |
234 | err_phy_cfg: | ||
235 | err_pll_cfg: | 235 | err_pll_cfg: |
236 | dss_pll_disable(&hdmi.pll.pll); | 236 | dss_pll_disable(&hdmi.pll.pll); |
237 | err_pll_enable: | 237 | err_pll_enable: |