diff options
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index faafc23b4fd3..9cf9711f3b7d 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -850,6 +850,8 @@ static int hdmi_runtime_resume(struct device *dev) { int r; + clk_enable(hdmi.sys_clk); + r = dss_runtime_get(); if (r < 0) goto err_get_dss; @@ -858,9 +860,6 @@ static int hdmi_runtime_resume(struct device *dev) if (r < 0) goto err_get_dispc; - - clk_enable(hdmi.sys_clk); - return 0; err_get_dispc: |