diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-08-02 12:54:39 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2011-09-20 12:21:31 +0400 |
commit | f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd (patch) | |
tree | c778f050955a3cda41fedc25ce7a5c7b03df4f26 /drivers/video/omap2/dss/dss.c | |
parent | 3393b85340a06e33ad290a4e7b88abe0d15d7499 (diff) | |
download | linux-f36465822d2e2651e03baf5c4c1a90ee4c1f9cdd.tar.xz |
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/dss.c')
-rw-r--r-- | drivers/video/omap2/dss/dss.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/omap2/dss/dss.c b/drivers/video/omap2/dss/dss.c index 9423a2ee3aac..356d3c15a639 100644 --- a/drivers/video/omap2/dss/dss.c +++ b/drivers/video/omap2/dss/dss.c @@ -819,13 +819,11 @@ static int omap_dsshw_remove(struct platform_device *pdev) static int dss_runtime_suspend(struct device *dev) { dss_save_context(); - clk_disable(dss.dss_clk); return 0; } static int dss_runtime_resume(struct device *dev) { - clk_enable(dss.dss_clk); dss_restore_context(); return 0; } |