summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/dispc.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-08-02 10:54:39 +0200
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-09-20 10:21:31 +0200
commitf36465822d2e2651e03baf5c4c1a90ee4c1f9cdd (patch)
treec778f050955a3cda41fedc25ce7a5c7b03df4f26 /drivers/video/omap2/dss/dispc.c
parentRevert "OMAP: DSS2: HDMI: fix hdmi clock name" (diff)
downloadlinux-f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd.tar.xz
linux-f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd.zip
OMAP: DSS2: remove unneeded fck enable/disables
Now that the HWMOD fmwk handles the fcks of DSS modules properly, the DSS driver no longer needs to explicitely enable/disable the fck. This patch removes the enables/disables of fck from dispc, dsi and dss. The clk_get(fck) is still needed there, as the modules need to know the frequency of the clock. For hdmi and venc this patch also removes the clk_get(fck), as they don't need the clock at all. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dispc.c')
-rw-r--r--drivers/video/omap2/dss/dispc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c
index bbd83401cf72..9d9fbeb5362e 100644
--- a/drivers/video/omap2/dss/dispc.c
+++ b/drivers/video/omap2/dss/dispc.c
@@ -3480,7 +3480,6 @@ static int omap_dispchw_remove(struct platform_device *pdev)
static int dispc_runtime_suspend(struct device *dev)
{
dispc_save_context();
- clk_disable(dispc.dss_clk);
dss_runtime_put();
return 0;
@@ -3494,7 +3493,6 @@ static int dispc_runtime_resume(struct device *dev)
if (r < 0)
return r;
- clk_enable(dispc.dss_clk);
dispc_restore_context();
return 0;