Wake Gestures interface

This creates a new input devices (wake_gesture) and generates input events for several gestures while the screen is off:

00000001 -> sweep right
00000002 -> sweep left
00000003 -> sweep up
00000004 -> sweep down
00000005 -> doubletap
00000006 -> long press HTC logo

These input events can be used by userspace apps to perform custom actions for each gesture
wake gestures: fix l2m dependency, sweep over buttons, and multiple trigger
DRIVERS: SLIMBUS: slimbus enhancements mkII

This time we keep the root freq to 11.
If Root Freq is set at 11, 24,576MHz has the best compatibility for all present sampling rates (e.g, any sample rate can be converted, 48KHz to 96KHz, 44.1KHz to 96KHz, 48KHz to 128KHz etc.) Increasing the root frequency is likely to cause invalid present sample rate combinations which leads to audio glitches such as distortion. "A Natural Frequency is defined as a CLK frequency that allows a family of data rates to be supported. The different sample rate flows can be optimally supported by changing a particular Natural Frequency using the Clock Gear." I looked at a Clock Gear/RF table and it looks like CLK Gear 10 and RF 24,576MHz (Stock RF) is an excellent combination due to its compatibility towards every other sample rates.

ZeroInfinity/Poondog

Signed-off-by: ZeroInfinity <infinitezero345@gmail.com>
Signed-off-by: poondog <markj338@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures:  minor improvements and fixes
Wake Gestures: Ensure system has a chance to respond to input events and fix sweepup2wake
Wake Gestures: make sweep length longer and add timeout
fix GCC 4.9 compilation errors
Build with Linaro GCC 4.9.1 toolchain
GPU: add optimization flags to GPU drivers

Signed-off-by: Lens-F <tnoah12@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>
mm: slub: Default slub_max_order to 0

To avoid locking and per-cpu overhead, SLUB optimisically uses
high-order allocations up to order-3 by default and falls back to
lower allocations if they fail. While care is taken that the caller
and kswapd take no unusual steps in response to this, there are
further consequences like shrinkers who have to free more objects to
release any memory. There is anecdotal evidence that significant time
is being spent looping in shrinkers with insufficient progress being
made (https://lkml.org/lkml/2011/4/28/361) and keeping kswapd awake.

SLUB is now the default allocator and some bug reports have been
pinned down to SLUB using high orders during operations like
copying large amounts of data. SLUBs use of high-orders benefits
applications that are sized to memory appropriately but this does not
necessarily apply to large file servers or desktops.  This patch
causes SLUB to use order-0 pages like SLAB does by default.
There is further evidence that this keeps kswapd's usage lower
(https://lkml.org/lkml/2011/5/10/383).

Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures: ensure wake_gesture input device registers with Android system
Revert "Wake Gestures: ensure wake_gesture input device registers with Android system"

This reverts commit 0e33e4c7712937b86edbfaa3c430e735783b4b36.
Wake Gestures: standardize with other devices
Merge branch 'ElementalX' of github.com:tako0910/m7wlj-Sense into ElementalX

Conflicts:
	drivers/slimbus/slim-msm-ctrl.c