Revert bulk of string patches.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "Revert "alarmtimer: implement minimum alarm interval for allowing suspend""

This reverts commit 0dba5b4ad8dd4d2f19212a885e220d862b1aa293.
PM / wakeup: Use irqsave/irqrestore for events_lock

Jon Medhurst (Tixy) recently noticed a problem with the
events_lock usage. One of the Android patches that uses
wakeup_sources calls wakeup_source_add() with irqs disabled.
However, the event_lock usage in wakeup_source_add() uses
spin_lock_irq()/spin_unlock_irq(), which reenables interrupts.
This results in lockdep warnings.

The fix is to use spin_lock_irqsave()/spin_lock_irqrestore()
instead for the events_lock.

References: https://bugs.launchpad.net/linaro-landing-team-arm/+bug/1037565
Reported-and-debugged-by: Jon Medhurst (Tixy) <tixy@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
Revert "Revert "Revert "suspend: remove disable/enable cpus every time suspend is called (which is called every damn 5 seconds -.-)."""

I think removing this is not a good idea after all.

This reverts commit 73eef5049415fd459909d57bbd14c48ab0de2869.
Revert "Revert "mako_hotplug: make a separate delayed work for when the device is sleeping, but wakelocked, and the device needs extra work that only one core can't withstand, for example listening to music and the GSM network changes from 2G to 3G or vice-versa, or Wi-Fi going up/down. Previous of this patch it would stutter the audio. With this separate work it will online cpu1 if the load justifies and so audio stutters are no more.""

This reverts commit ded2d3dd0b07e0758db6e3992ed9e41f0c58042d.
Merge remote-tracking branch 'upstream/android-msm-hammerhead-3.4-kk-r1' into sm-4.4