gpio_input: convert from wakelocks to wakeup sources

And add device names to wakeup source names

Change-Id: Ia5f2723319a2e749f00d6ec7d846edff6af6d5c2
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Quallenauge <Hamsi2k@freenet.de>
Optimized ARM RWSEM algorithm

RWSEM implementation for ARM using atomic functions.
Heavily based on arch/sh/include/asm/rwsem.h

Change-Id: I0e836157618a9757b5fe8ff1c799524b2dfda83b
Signed-off-by: Ashwin Chaugule <ashwinc@codeaurora.org>
omap4-common: only disable interrupt when port is suspending

Previously the interrupt got disabled and then the suspend
could be aborted due to data in the rx fifo. When this happened
the interrupt was never enabled again.

Change-Id: I3d145b48b56f5ef69aa062e36e4dff3ed5bdff42

Conflicts:
	drivers/tty/serial/omap-serial.c
Try to avoid null pointer dereferences (via workaround).
Seems that some null pointer checks are needed to avoid kernel crashes when suspending.
Enabled some watchdogs, which reboots the kernel on panics.
Also disable DPLL-Cascading on NON-4430 socs to prevent kernel crashes on suspend.