power: main: Disable VT switch on suspend/resume

The vt_move_to_console may hang because the console switch complete
event is never received for some cases. This mainly happened when
the console is managed by the userspace application.

Change-Id: Ifbfb36569a7d842a70e5f3ff6322489f0a7895e1
Signed-off-by: Lianwei Wang <lian-wei.wang@motorola.com>
Reviewed-on: http://gerrit.pcs.mot.com/512068
Tested-by: Jira Key <JIRAKEY@motorola.com>
Reviewed-by: Guo-Jian Chen <a21757@motorola.com>
Reviewed-by: Check Patch <CHEKPACH@motorola.com>
Reviewed-by: Klocwork kwcheck <klocwork-kwcheck@sourceforge.mot.com>
Reviewed-by: Ke Lv <a2435c@motorola.com>
Reviewed-by: Srinivas Sripathi <a14759@motorola.com>
Reviewed-by: Jeffrey Carlyle <jeff.carlyle@motorola.com>
Submit-Approved: Jira Key <JIRAKEY@motorola.com>
(cherry picked from commit a2dfeb56f110009d4b4acaa68fe05388883ee26e)

[jason.hrycay@motorola.com: move to main init]
Signed-off-by: Jason Hrycay <jason.hrycay@motorola.com>
powersuspend: new PM kernel driver for Android w/o early_suspend

Android early_suspend/late_resume PM kernel driver framework has been
deprecated by Google. This new powersuspend PM kernel driver is a replacement
for it and existing early_suspend drivers can be easily adapted to use this
new replacement driver

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	kernel/power/Kconfig

Conflicts:
	kernel/power/Kconfig
	kernel/power/Makefile
powersuspend: fix logci derps :p

Signed-off-by: Paul Reioux <reioux@gmail.com>
kernel/power/powersuspend: remove userspace dependency from powersuspend

make powersuspend not depend on a userspace initiator anymore, but use a hook
in autosleep instead.

Signed-off-by: Paul Reioux <reioux@gmail.com>

Conflicts:
	kernel/power/autosleep.c
kernel/power/powersuspend: add back userpace control w/ default kernel control

make kernel / userspace mode switchable

Signed-off-by: Paul Reioux <reioux@gmail.com>
kernel/power/powersuspend: default to userspace for now

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: POWERSUSPEND