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:
76ede06
)
rk29: pm: disable console suspend for debug
author
黄涛
<huangtao@rock-chips.com>
Mon, 14 Feb 2011 01:21:52 +0000
(09:21 +0800)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 14 Feb 2011 01:22:28 +0000
(09:22 +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 09128ab22dd947c9f51293094b540aa81334674a..05495b52a5e77c5d9f8f9750db0bd870d2f2b40f 100644
(file)
--- a/
arch/arm/mach-rk29/pm.c
+++ b/
arch/arm/mach-rk29/pm.c
@@
-8,6
+8,7
@@
#include <linux/regulator/consumer.h>
#include <linux/io.h>
#include <linux/wakelock.h>
+#include <linux/console.h>
#include <mach/rk29_iomap.h>
#include <mach/cru.h>
@@
-234,6
+235,9
@@
static int __init rk29_pm_init(void)
/* set idle function */
pm_idle = rk29_idle;
+ /* for debug */
+ console_suspend_enabled = 0;
+
return 0;
}
__initcall(rk29_pm_init);