timekeeping_resume
Partial Revert of MY HACK for ktime_get on suspend. + fix.

*I suspect that my HACK made some mess in suspend control.
and may have been responsible for SODS. on screen OFF.

this partial revert of
https://github.com/dorimanx/Dorimanx-LG-G2-D802-Kernel/commit/3d33e22d9a28743d4abd1b46f8044c5ed7632739

and merge fix commit:
https://github.com/neobuddy89/hammerhead_kernel_caf/commit/8852aa4c7597a9e56b8e20335b9103fc7d6bf3e7

So far all GOOD. no dmesg logs on suspend and suspend working as should.

Conflicts:
	kernel/time/timekeeping.c
msm: lpm_levels: remove rpm handshake in l2_gdhs mode

Remove rpm handshake in l2_gdhs mode and adjust the
latency values for l2_gdhs mode. Add a new dt entry to
inform lpm_levels driver to send sleep votes to rpm.

Signed-off-by: Anil kumar mamidala <amami@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
lpm-levels: Add a NULL check of next event time

The next event value could be NULL if there is no event
queued. Add a NULL check to avoid wrong calculation of
next wakeup time.

Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: lpm-levels: add suspend_again handler Call quickwakeup clients to enable us to perform very small amounts of processing and then to drop quickly back into suspend.

Signed-off-by: renderbroken <zkennedy87@gmail.com>
msm: lpm_levels: remove debug print

remove a pr_info that was added for debug purpose. This is
causing excessive logging issues.

CRs-fixed: 589307
Change-Id: I1f7bcb5282b51734cb7bf30ff933d65714445cba
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
msm: lpm: remove redundant assignment

Removed the redundant cpu level is assignment.

Change-Id: I1aecc4f3d1eb55cd9e057c82f63b8f145401c0fc
Signed-off-by: Venkat Devarasetty <vdevaras@codeaurora.org>
Revert "lpm_levels: Do not allow power collapse when multi cores online"

This reverts commit 015059c72f50de4a74203f71acc88bac5ef3c7d3.