summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/omap2/dss/hdmi.c')
-rw-r--r--drivers/video/omap2/dss/hdmi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/hdmi.c b/drivers/video/omap2/dss/hdmi.c
index b9d86301bc7..40398f7ec2e 100644
--- a/drivers/video/omap2/dss/hdmi.c
+++ b/drivers/video/omap2/dss/hdmi.c
@@ -779,6 +779,9 @@ static int hdmi_runtime_resume(struct device *dev)
clk_enable(hdmi.sys_clk);
+ if (!dss_runtime_pm_enabled())
+ return -EBUSY;
+
r = dss_runtime_get();
if (r < 0)
goto err_get_dss;