block: disable add_random for more performance on SSD's
audit: kiss goodbye you stupid piece of crap logging messages.

Signed-off-by: Francisco Franco <franciscofranco.1990@gmail.com>
gpu: ion: Sync CMA caching logic with carveout heap.

Change-Id: Id759d442a45a54ae6b3410f01a208728cb040a52
i2c: change clock rate to 5.4 MHz

This patch change the clock rate to 5.4 MHz to save power
Set a lower vibrator voltage
Set a lower display voltage
Set new regulator voltages
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot

Global and per-CPU timers ought to be initialized once SMP initialization
is complete.  Although the clocksources associated with these timers may
not be registered until later in the boot process, they should be ready
to go once registered.  We'd like to stop using the super low-resolution
boot clocksource (jiffies) as soon as possible since devices may rely on
accurate timekeeping while being brought up during boot, so move
clocksource_done_booting() to arch_initcall time so that we can switch
to a higher-resolution clocksrouce earlier in the boot process.

TEST=Pit and Lumpy both still boot reliably.  Boot time on Pit improves
considerably:
Before: [    3.032967] VFS: Mounted root ...
After:  [    1.855936] VFS: Mounted root ...
Lumpy boot time improves very slightly:
Before: [    1.786347] VFS: Mounted root ...
After:  [    1.754297] VFS: Mounted root ...

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Reviewed-by: Sameer Nanda <snanda@chromium.org>
Signed-off-by: Luis Cruz <ljc2491@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
CK3 tweaks (Credits to Con Kolivas)

* mm-enable_swaptoken_only_when_swap_full.patch:
  The swap token is only useful in conditions of swap thrash, and actually
  worsens the common case by causing more swapping. Make it only have an effect
  when swap is more than half full.

* mm-drop_swap_cache_aggressively.patch:
  While it may be nice to have a copy of pages on swap once written there, the
  more garbage we leave in the swapspace the slower any further writes and
  reads to and from it are. Just free swapcache whenever we can.

* mm-kswapd_inherit_prio-1.patch:
  When kswapd is awoken due to reclaim by a running task, set the priority of
  kswapd to that of the calling task thus making memory reclaim cpu activity
  affected by nice level.

* hz-default_1000.patch:
  Set default HZ to 1000 which is what most desktop users should still be using.

* hz-no_default_250.patch:
  Make 250HZ not be the default to discourage desktop users from choosing this
  option since 1000 will provide better latencies with only miniscule amounts
  of extra overhead and power consumption.

* preempt-desktop-tune.patch:
  Enable preempt by default and make people steer away from voluntary.
Add new helpers

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
leds: Do not remove trigger when brightness = LED_OFF

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: Add LED trigger for thermal sensor

Add a thermal trigger named 'thermal' which activated by thermal
sensor.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	arch/arm/configs/mako_defconfig
mach-msm: mako: Use default triggers for RGB LED

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>

Conflicts:
	arch/arm/mach-msm/lge/mako/board-mako-pmic.c
leds: Switch off LED when thermal trigger deactivated

Also initialize properly driver.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Increase lower thershold

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Use LED_OFF, LED_FULL macros for min, max brightness

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Use macros for high, low thresholds

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Check every 5s for temp when LED is off

When the LED is off check every 5s.
As soon as the LED switch on check every 2s.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: remove debug

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
leds: ledtrig-thermal: Do not update brightness if there is no change

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>