tegra: revert change of core_off_timer
tegra: fixed SOD when using suspend delay handlers

Conflicts:
	arch/arm/mach-tegra/cpu-tegra.c
timekeeping: Fix time moving backwards

Changed the calculation logic that sometimes calculates
the time wrong.

Sometimes there is an overflow when the tv_nsec field in
the timespec structure is being added since it is 32-bit.

To resolve this issue nsec variable is being added first
so that the addition is performed in 64 bit signed format.

Bug 1217429

Change-Id: I9c65da88f02596ba73c47be6342ed909e650db22
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/195092
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Prashant Gaikwad <pgaikwad@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Shridhar Rasal <srasal@nvidia.com>

Conflicts:
	kernel/time/timekeeping.c
PM / Sleep: Look for wakeup events in later stages of device suspend

Currently, the device suspend code in drivers/base/power/main.c
only checks if there have been any wakeup events, and therefore the
ongoing system transition to a sleep state should be aborted, during
the first (i.e. "suspend") device suspend phase.  However, wakeup
events may be reported later as well, so it's reasonable to look for
them in the in the subsequent (i.e. "late suspend" and "suspend
noirq") phases.

Change-Id: Idc55bb84fd820c4f0b5e037186fb337daa612fb4
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 52d136cc2cf6659ee247dbcc88c9e7bd7428ad06
Git-repo: git://codeaurora.org/kernel/msm.git
Signed-off-by: Anurag Singh <anursing@codeaurora.org>
PM / Sleep: Use wait queue to signal "no wakeup events in progress"

The current wakeup source deactivation code doesn't do anything when
the counter of wakeup events in progress goes down to zero, which
requires pm_get_wakeup_count() to poll that counter periodically.
Although this reduces the average time it takes to deactivate a
wakeup source, it also may lead to a substantial amount of unnecessary
polling if there are extended periods of wakeup activity.  Thus it
seems reasonable to use a wait queue for signaling the "no wakeup
events in progress" condition and remove the polling.

Change-Id: I19bfca1a13fa3d7437c7207575a4ebde60ad25cd
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: mark gross <markgross@thegnar.org>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Git-commit: 60af1066913162c5dd13fad3b872a67b1eb7da0f
Git-repo: git://codeaurora.org/kernel/msm.git
Signed-off-by: Anurag Singh <anursing@codeaurora.org>
patch: after previous patches now fix wakeup statistics for android
patch: remove legacy wakelock code and move to PM_SUSPEND_FREEZE
board-endeavoru-panel: fix some iso c90 warnings
board-endeavoru-panel: implement automatic backlight calibration

Conflicts:
	arch/arm/mach-tegra/board-endeavor-panel.c
board-endeavoru-panel: improve colours and try to make it look more realistic
board-endeavoru-panel: remove some unused stuff
maxwen merge

Signed-off-by: Xmister <xmisterhu@gmail.com>
Update pmqos values

Signed-off-by: Xmister <xmisterhu@gmail.com>
Cpufreq update

Signed-off-by: Xmister <xmisterhu@gmail.com>
Another pmqos update

Signed-off-by: Xmister <xmisterhu@gmail.com>
Revert "Patch: Updating Wifi through TI-OpenLink 03-19-13"

This reverts commit 0bace4625eacd2906147ee4c943c95664bd56ff6.
Revert "Another pmqos update"

This reverts commit a9caf565f3748b10641f568fa5bf345cb6152b58.
Revert "Cpufreq update"

This reverts commit f9798d5bbbcef616776c8da889a6c58cd7aada4c.
Revert "Update pmqos values"

This reverts commit 81a5db0e83fcd0bace68d535451987516f5f535d.
Revert "maxwen merge"

This reverts commit 1eb6c23e5b7d0b8f606f41d46546b29aab8f33b9.