projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c14265
)
rk29: pm: disable vt switch while suspend, one bug show suspend may hung on vt_event_wait
author
黄涛
<huangtao@rock-chips.com>
Thu, 20 Oct 2011 03:11:10 +0000
(11:11 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Thu, 20 Oct 2011 03:30:33 +0000
(11:30 +0800)
arch/arm/mach-rk29/pm.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk29/pm.c
b/arch/arm/mach-rk29/pm.c
index 4023154d9c917a0b1d8f6db405a946dc2e5072a1..a9314741a701a20fa654db14abc2bfab340b76c5 100755
(executable)
--- a/
arch/arm/mach-rk29/pm.c
+++ b/
arch/arm/mach-rk29/pm.c
@@
-593,6
+593,10
@@
static int __init rk29_pm_init(void)
pm_idle = rk29_idle;
ddr_debug = 0;
+#ifdef CONFIG_EARLYSUSPEND
+ pm_set_vt_switch(0); /* disable vt switch while suspend */
+#endif
+
return 0;
}
__initcall(rk29_pm_init);