diff options
Diffstat (limited to 'drivers/video/omap2')
-rw-r--r-- | drivers/video/omap2/dss/dispc.c | 4 | ||||
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 5 | ||||
-rw-r--r-- | drivers/video/omap2/dss/hdmi.c | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index cc21e0499a62..9c93aeae62af 100644 --- a/drivers/video/omap2/dss/dispc.c +++ b/drivers/video/omap2/dss/dispc.c @@ -3451,8 +3451,10 @@ static int dispc_runtime_resume(struct device *dev) int r; r = dss_runtime_get(); - if (r < 0) + if (r < 0) { + pr_err("dispc_runtime_resume: unable to get dss\n"); return r; + } dispc_restore_context(); diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index db40665ff6c3..bc2b596f41d7 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -713,7 +713,10 @@ int dss_runtime_get(void) DSSDBG("dss_runtime_get\n"); r = pm_runtime_get_sync(&dss.pdev->dev); - WARN_ON(r < 0); + if (r < 0) { + pr_err("dss_runtime_get: failed %d\n", r); + WARN_ON(1); + } return r < 0 ? r : 0; } diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c index b4ac7a14e39e..01b88587e824 100644 --- a/drivers/video/omap2/dss/hdmi.c +++ b/drivers/video/omap2/dss/hdmi.c @@ -825,7 +825,7 @@ static int omapdss_hdmihw_remove(struct platform_device *pdev) static int hdmi_runtime_suspend(struct device *dev) { - clk_disable(hdmi.sys_clk); +// clk_disable(hdmi.sys_clk); dispc_runtime_put(); dss_runtime_put(); @@ -846,7 +846,7 @@ static int hdmi_runtime_resume(struct device *dev) goto err_get_dispc; - clk_enable(hdmi.sys_clk); +// clk_enable(hdmi.sys_clk); return 0; |