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:
c8bb315
)
consoleearlysuspend: Fix for 2.6.32
author
Arve Hjønnevåg
<arve@android.com>
Tue, 15 Dec 2009 06:14:52 +0000
(22:14 -0800)
committer
Colin Cross
<ccross@android.com>
Tue, 14 Jun 2011 16:08:43 +0000
(09:08 -0700)
vt_waitactive now needs a 1 based console number
Change-Id: I07ab9a3773c93d67c09d928c8d5494ce823ffa2e
kernel/power/consoleearlysuspend.c
patch
|
blob
|
history
diff --git
a/kernel/power/consoleearlysuspend.c
b/kernel/power/consoleearlysuspend.c
index a8befb4191588f7f8bdde6b75740c958f5889d0a..a3edcb2673896d456de72c76c53228f8638de311 100644
(file)
--- a/
kernel/power/consoleearlysuspend.c
+++ b/
kernel/power/consoleearlysuspend.c
@@
-33,7
+33,7
@@
static void console_early_suspend(struct early_suspend *h)
goto err;
release_console_sem();
- if (vt_waitactive(EARLY_SUSPEND_CONSOLE))
+ if (vt_waitactive(EARLY_SUSPEND_CONSOLE
+ 1
))
pr_warning("console_early_suspend: Can't switch VCs.\n");
return;
err:
@@
-52,7
+52,7
@@
static void console_late_resume(struct early_suspend *h)
return;
}
- if (vt_waitactive(orig_fgconsole))
+ if (vt_waitactive(orig_fgconsole
+ 1
))
pr_warning("console_late_resume: Can't switch VCs.\n");
}