zram swap: remove auto zram swap initialization

Signed-off-by: Paul Reioux <reioux@gmail.com>
dynamic fsync: don't disable fdatasync()

Signed-off-by: Paul Reioux <reioux@gmail.com>
dmesg spam reduction!

Signed-off-by: Paul Reioux <reioux@gmail.com>
dmesg spam reduction part deux

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: 005 release update

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: 005 release update (ATT)

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: 005 release update (VZW)

Signed-off-by: Paul Reioux <reioux@gmail.com>
samsung_battery.c: reduce wakelock from 10 seconds to 5.

Based on SEC other battery monitors, they used 5 seconds for cable detection
so let's reduce it to 5 seconds here as well.

Signed-off-by: Paul Reioux <reioux@gmail.com>
ARM: 7202/1: Add Cortex-A7 proc info

This patch adds processor info for ARM Ltd. Cortex-A7.

A7 is architecturally identical to A15 so it shares the
same SMP initialization code and hwcaps.

Change-Id: I33b961782850baba020bbbfa2711cf2010499d58
Tested-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
ARM: disable preemption in machine_shutdown

Since the smp call to stop the other cpus are handled in those
cpus in interrupt context, there's a potential for those smp
handlers to interrupt threads holding spin locks (such as the
one a mutex holds).  This prevents those threads from ever
releasing their spin lock, so if the cpu doing the shutdown
is allowed to switch to another thread that tries to grab the
same lock/mutex, we could get into a deadlock (the spin lock
call is called with preemption disabled in the mutex lock code).

To avoid that possibility, disable preemption before doing the
smp_send_stop().

Change-Id: I7976c5382d7173fcb3cd14da8cc5083d442b2544
Signed-off-by: Mike J. Chen <mjchen@google.com>
cpufreq_ondemand: switch to high performance ondemand governor

with input touch booster to help increase UI responsiveness

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: add powersave and switch to high performance ondemand

Signed-off-by: Paul Reioux <reioux@gmail.com>
defconfig: add powersave and switch to high performance ondemand (ATT)

Signed-off-by: Paul Reioux <reioux@gmail.com>
add powersave and switch to high performance ondemand (VZW)

Signed-off-by: Paul Reioux <reioux@gmail.com>
cpufreq_ondemand.c: add early suspend sampling reduction to save more battery

while screen is off.

Signed-off-by: Paul Reioux <reioux@gmail.com>
ondemand: remove sampling rate change based on early suspend notifications

there's some issues with kernel mutex locking on Galaxy Note 2 kernel. which
leads to random reboots.

Signed-off-by: Paul Reioux <reioux@gmail.com>
Forced Fast Charge v1.2a

 SysFS interface :

 * /sys/kernel/fast_charge/force_fast_charge (rw)
 *
 *   0 - disabled (default)
 *   1 - substitute AC to USB
 *   2 - use custom mA configured through sysfs interface (see below)
 *
 * /sys/kernel/fast_charge/ac_charge_level (rw)
 *
 *   rate at which to charge when on AC (1.0A to 1.5A)
 *
 * /sys/kernel/fast_charge/usb_charge_level (r/w)
 *
 *   rate at which to charge when on USB (0.475A to 1.0A)
 *
 * /sys/kernel/fast_charge/failsafe (rw)
 *
 *   0 - disabled - allow anything up to 2.1A to be used as AC / USB custom current
 *   1 - enabled  - behaviour as described above (default)
 *
 * /sys/kernel/fast_charge/version (ro)
 *
 *   display fast charge version information

Signed-off-by: Paul Reioux <reioux@gmail.com>
Corrected small typos in fastcharge...
Forced Fast Charge v1.2b

Restore compliance to Samsung JB code for normal AC charge

SysFS interface :

 * /sys/kernel/fast_charge/force_fast_charge (rw)
 *
 *   0 - disabled (default)
 *   1 - substitute AC to USB
 *   2 - use custom mA configured through sysfs interface (see below)
 *
 * /sys/kernel/fast_charge/ac_charge_level (rw)
 *
 *   rate at which to charge when on AC (1.0A to 1.5A)
 *
 * /sys/kernel/fast_charge/usb_charge_level (r/w)
 *
 *   rate at which to charge when on USB (0.475A to 1.0A)
 *
 * /sys/kernel/fast_charge/failsafe (rw)
 *
 *   0 - disabled - allow anything up to 2.1A to be used as AC / USB custom current
 *   1 - enabled  - behaviour as described above (default)
 *
 * /sys/kernel/fast_charge/version (ro)
 *
 *   display fast charge version information
Forced Fast Charge v1.4

- update wireless charger : own charging rate setting added

SysFS interface :

 * /sys/kernel/fast_charge/force_fast_charge (rw)
 *
 *   0 - disabled (default)
 *   1 - substitute AC to USB
 *   2 - use custom mA configured through sysfs interface (see below)
 *
 * /sys/kernel/fast_charge/ac_charge_level (rw)
 *
 *   rate at which to charge when on AC (1.0A to 1.5A)
 *
 * /sys/kernel/fast_charge/usb_charge_level (r/w)
 *
 *   rate at which to charge when on USB (0.475A to 1.0A)
 *
 * /sys/kernel/fast_charge/wireless_charge_level (r/w)
 *
 *   rate at which to charge when on wireless (0.475A to 1.0A)
 *
 * /sys/kernel/fast_charge/failsafe (rw)
 *
 *   0 - disabled - allow anything up to 2.1A to be used as AC / USB custom current
 *   1 - enabled  - behaviour as described above (default)
 *
 * /sys/kernel/fast_charge/version (ro)
 *
 *   display fast charge version information

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