diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-02-25 05:08:14 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2015-04-20 05:09:04 -0400 |
commit | cb17a4ae3bbf1daa3b179147b6d476ea2482e2d3 (patch) | |
tree | c55a219502ce82e266319b05b84b4ad9a87e8203 /drivers/video | |
parent | fe59e5cf4abb922d37caea2ced6331cce48fb8b8 (diff) |
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>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/fbdev/omap2/dss/dss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dss.c b/drivers/video/fbdev/omap2/dss/dss.c index a6d10d4279f3..7f978b6a34e8 100644 --- a/drivers/video/fbdev/omap2/dss/dss.c +++ b/drivers/video/fbdev/omap2/dss/dss.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include <linux/regmap.h> | 38 | #include <linux/regmap.h> |
39 | #include <linux/of.h> | 39 | #include <linux/of.h> |
40 | #include <linux/regulator/consumer.h> | 40 | #include <linux/regulator/consumer.h> |
41 | #include <linux/suspend.h> | ||
41 | 42 | ||
42 | #include <video/omapdss.h> | 43 | #include <video/omapdss.h> |
43 | 44 | ||
@@ -1138,6 +1139,8 @@ static int __init omap_dsshw_probe(struct platform_device *pdev) | |||
1138 | 1139 | ||
1139 | dss_debugfs_create_file("dss", dss_dump_regs); | 1140 | dss_debugfs_create_file("dss", dss_dump_regs); |
1140 | 1141 | ||
1142 | pm_set_vt_switch(0); | ||
1143 | |||
1141 | return 0; | 1144 | return 0; |
1142 | 1145 | ||
1143 | err_pll_init: | 1146 | err_pll_init: |