fix logo2wake from deep sleep and remove some logspam

Change-Id: I0dda623177b74e7579a323c5066a04b15c2e67fb
Signed-off-by: flar2 <asegaert@gmail.com>
redo algorithm and a few other touch ups

Change-Id: Ic53ef87acd7ec1607138d64c542dfe3ca8b75ed0
Signed-off-by: flar2 <asegaert@gmail.com>
fix wakelock

Change-Id: Ia792817e76fdb7b9c70b494e5448152759eec3da
Signed-off-by: flar2 <asegaert@gmail.com>
Add sweep up to wake

Change-Id: Ic562e9fcac40e94b4759fe0b8479fe9d8d1dcd67
Signed-off-by: flar2 <asegaert@gmail.com>
S2W/L2W/DT2W: Make vibration more immediate when activated

Change-Id: I624d79ca462e131d5f914cc3cbd2506d64dc5dcd
Signed-off-by: flar2 <asegaert@gmail.com>
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

Change-Id: Icd17973f4e35afede30efb95fdf0882c5bcb7125
Signed-off-by: flar2 <asegaert@gmail.com>
wake gestures: fix l2m dependency, sweep over buttons, and multiple trigger

Change-Id: I0226fd8950dacea247d038c0c050ccd83e6ae8ef
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures: minor improvements and fixes

Change-Id: I6905cc16c27d05124423a5bda5c8633905964782
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures: Ensure system has a chance to respond to input events and fix sweepup2wake

Change-Id: I2f6d617641ee0a0a88249be603836cebe6d0f0f2
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures: make sweep length longer and add timeout

Change-Id: I0515790ce0e013fdb619f40e80b5eb3391884825
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).

Change-Id: I7cb80f16dfa2d8d484ecfb6a67926d181d361c58
Signed-off-by: Mel Gorman <mgorman@suse.de>
Signed-off-by: flar2 <asegaert@gmail.com>
Wake Gestures: standardize with other devices

Change-Id: I06c26805d15e7a561f7b764c33afe62ef39136da
Signed-off-by: flar2 <asegaert@gmail.com>
Revert "input: touchscreen: synaptics_3200: Allow disabling keypad"

This reverts commit 592ff588766e4393ebad6b43ed203acbc28ea68c.

Conflicts:
	drivers/input/touchscreen/synaptics_3200.c

Change-Id: I6e4ff4035af346b1471ee7275bd5f38c0269e2df
reduce logspam

Change-Id: I6976568cd01e1f14564e16c0eb1c6cabee2343e1