OMAPDSS: disable VT switch
We don't need VT switch when suspending/resuming, so disable it. This speeds up suspend/resume. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Cc: NeilBrown <neil@brown.name>
This commit is contained in:
parent
fe59e5cf4a
commit
cb17a4ae3b
|
@ -38,6 +38,7 @@
|
||||||
#include <linux/regmap.h>
|
#include <linux/regmap.h>
|
||||||
#include <linux/of.h>
|
#include <linux/of.h>
|
||||||
#include <linux/regulator/consumer.h>
|
#include <linux/regulator/consumer.h>
|
||||||
|
#include <linux/suspend.h>
|
||||||
|
|
||||||
#include <video/omapdss.h>
|
#include <video/omapdss.h>
|
||||||
|
|
||||||
|
@ -1138,6 +1139,8 @@ static int __init omap_dsshw_probe(struct platform_device *pdev)
|
||||||
|
|
||||||
dss_debugfs_create_file("dss", dss_dump_regs);
|
dss_debugfs_create_file("dss", dss_dump_regs);
|
||||||
|
|
||||||
|
pm_set_vt_switch(0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
err_pll_init:
|
err_pll_init:
|
||||||
|
|
Loading…
Reference in New Issue