diff options
author | Andy Green <andy.green@linaro.org> | 2011-12-26 13:20:07 +0800 |
---|---|---|
committer | Sebastien Jan <s-jan@ti.com> | 2012-01-06 16:40:03 +0100 |
commit | 5b739e45fc7b2d1776b22e998ec42327c7e4fe54 (patch) | |
tree | c8efe90b274ac57e57ce5d95456cf145b2ed0513 /drivers | |
parent | c2ca687a300af8f734d02b3e00d47c6ab58c95cd (diff) |
dss move hdmi clock enable to start of rpm get
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'drivers')
-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: |