提交 b88f58f0 编写于 作者: T Tomi Valkeinen

OMAP: DSS2: Remove clk optimization at dss init

DSS enables core clocks for the duration of initialization to avoid
unnecessary context saves and restores.

With PM runtime the clocks cannot be handled in this way, outside the
dss module drivers. Thus we need to remove the optimization.
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 cb5930bd
...@@ -183,8 +183,6 @@ static int omap_dss_probe(struct platform_device *pdev) ...@@ -183,8 +183,6 @@ static int omap_dss_probe(struct platform_device *pdev)
goto err_dss; goto err_dss;
} }
/* keep clocks enabled to prevent context saves/restores during init */
dss_clk_enable(DSS_CLK_ICK | DSS_CLK_FCK);
r = dispc_init_platform_driver(); r = dispc_init_platform_driver();
if (r) { if (r) {
DSSERR("Failed to initialize dispc platform driver\n"); DSSERR("Failed to initialize dispc platform driver\n");
...@@ -237,8 +235,6 @@ static int omap_dss_probe(struct platform_device *pdev) ...@@ -237,8 +235,6 @@ static int omap_dss_probe(struct platform_device *pdev)
pdata->default_device = dssdev; pdata->default_device = dssdev;
} }
dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK);
return 0; return 0;
err_register: err_register:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册