Sweep2Wake with start/end sysfs
start and end button sysfs by chad goodman
Sound Control: Sound control 2.1 for TPA amp used on many HTC devices
many models including G2x/Desire Z, MyTouch4G, Sensation, Amaze, Evo etc
including Beats models as well

Fully GPL'ed version.

Signed-off-by: faux123 <reioux@gmail.com>
staging: android: lowmemorykiller: Updates

Add config option to support oom_adj values:

The conversion to use oom_score_adj instead of the deprecated oom_adj
values breaks existing user-space code. Add a config option to convert
oom_adj values written to oom_score_adj values if they appear to be
valid oom_adj values.

Change-Id: I68308125059b802ee2991feefb07e9703bc48549
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Adapted from Linux 3.4 from Android kernel common

Signed-off-by: faux123 <reioux@gmail.com>

staging: android: lowmemorykiller: Don't count reserved free memory

staging: android: lowmemorykiller: Don't count reserved free memory
The amount of reserved memory varies between devices. Subtract it
here to reduce the amount of devices specific tuning needed for the
minfree values.

Change-Id: I466ae8b18f5972f6f6d8b5a7d8c4ae69660de53a
Signed-off-by: Arve Hjønnevåg <arve@android.com>
adapted from Linux 3.4 Android Kernel Common

Signed-off-by: faux123 <reioux@gmail.com>