Squashed update of kernel from 3.0.48 to 3.0.51
Backport some code from the Galaxy Reverb
dpram: Backport some code from newer versions
framebuffer: add a pollable sysfs entry for display status

Wakeup the userspace poll on change of display status. The
userspace then may take action to change the
power/performance characteristics of the device.

Change-Id: I9bd11f3d895d3d83230104f5d8dcd1deeaa754cd
Signed-off-by: Amar Singhal <asinghal@codeaurora.org>
PM / Sleep: Do not check wakeup too often in try_to_freeze_tasks()

Use the observation that it is more efficient to check the wakeup
variable once before the loop reporting tasks that were not
frozen in try_to_freeze_tasks() than to do that in every step of that
loop.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>

Conflicts:

	kernel/power/process.c

Signed-off-by: Srivalli Oguri <oguri@codeaurora.org>
(cherry picked from commit a15cc22b56b803b8f943c57d9535bdb9953ff3ec)

Change-Id: Ic41cd71a0ec49cd0c633c14aa3fce02025a4de3f
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
Fix battery drain caused by display regulators

Regulators were set up wrong, causing battery drain while in suspend.
Update defconfigs
Fixed and cleaned orientation driver!
Fixed vibetonz clk unbalanced error
Squashed update of kernel from 3.0.51 to 3.0.52
Testing a build
Finally had a successfull apache build
Managed a full boot, though unstable
A little cleaning and RIL correction (almost functional)
Fixed up hardware keys
Updates based on arco's commit (3c5086f46daa1777ba1654e0107eb0eb4011e20e)
Initial import of A2220 drivers -- VERY BROKEN -- WONT BOOT
Removed A2220 logic while leaving the driver enabled -- DOESNT WORK -- NOW BOOTS -- NO AUDIO
Partial revert of A2220 commented out code -- BOOTS - NO AUDIO
Partial revert of A2220 commented out code -- BOOTS - NO AUDIO