Skip to content

Commit

Permalink
OMAPDSS: disable VT switch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomi Valkeinen committed Apr 20, 2015
1 parent fe59e5c commit cb17a4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/fbdev/omap2/dss/dss.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <linux/regmap.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
#include <linux/suspend.h>

#include <video/omapdss.h>

Expand Down Expand Up @@ -1138,6 +1139,8 @@ static int __init omap_dsshw_probe(struct platform_device *pdev)

dss_debugfs_create_file("dss", dss_dump_regs);

pm_set_vt_switch(0);

return 0;

err_pll_init:
Expand Down

0 comments on commit cb17a4a

Please sign in to comment.