diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-02 11:54:39 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-20 11:21:31 +0300 |
commit | f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd (patch) | |
tree | c778f050955a3cda41fedc25ce7a5c7b03df4f26 /drivers/video/omap2/dss/dispc.c | |
parent | 3393b85340a06e33ad290a4e7b88abe0d15d7499 (diff) | |
download | op-kernel-dev-f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd.zip op-kernel-dev-f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd.tar.gz |
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dispc.c b/drivers/video/omap2/dss/dispc.c index bbd8340..9d9fbeb 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; |