cpufreq: workaround touch booster interception

Touch booster will override policy->min to enhance user experience.

But this leads to many apps unable to read policy->min value correctly
(eg. CyanogenMod -> Settings -> Performance or Trickster MOD).

Workaround this by hiding userspace access to touch booster's policy->min overriding.
gpio_keys: add flip cover wake/suspend event

AOSP doesn't take care of flip covers.

Let make it aware from the kernel side.
cpufreq: don't go above 2.27ghz when adding device
Revert "Intelli HotPlug: V3.1 Corrected Gov Start/Stop."

This reverts commit 004de0cafe05a1c3566a3ad8e87decaecb233de0.
Revert "Intelli HotPlug: Prevent deadlock! Idea by @alucard24"

This reverts commit 18e569de17170b2d86ed880de723317b0ce5a0de.
Revert "Intelli HotPlug add protection for too high values! that user can set."

This reverts commit 458ccd108e0afc88894ae8b1b5475b5e31443614.
Revert "Fixed Intelli HotPlug Driver. now works! and not killing CPU on Stress."

This reverts commit fe9a24799b4435726617e75546e5b425bd229e9b.
Revert "Mod Intelli HotPlug"

This reverts commit ed0cfb2618f1411ce52fb1d6d1cad7dc3253fa6c.
Revert "Intelli HotPlug fixes!"

This reverts commit d44b109a1321b5777999d2749bfd7482f290382b.
Revert "Optimized intelli_plug."

This reverts commit 464d316fa09932ea364a4ec098d33757a40a60d6.
Revert "Intelli HotPlug v3.0 Big rework by @Alucard24 and @Dorimanx"

This reverts commit 2ba62cd474cb4d75c9bf9ddd7d68dc6fafe685bf.
Revert "intelli_plug: Fixes & bump to version 2.4 by dorimanx"

This reverts commit 1c7ece1bde7e407ed8bb484060b8b0ca24475311.
sched: Call the notify_on_migrate notifier chain for wakeups as well

Add a change to send notify_on_migrate hints on wakeups of
foreground tasks from scheduler if their load is above
wakeup_load_thresholds (default value is 60).
These hints can be used to choose an appropriate CPU frequency
corresponding to the load of the task being woken up.

Change-Id: Ieca413c1a8bd2b14a15a7591e8e15d22925c42ca
Signed-off-by: Rohit Gupta <rohgup@codeaurora.org>
gpio_keys: force sync on KEY_POWER, KEY_HOME press

This should help in situations when the device or the OS is stalled but the kernel is alive and running.

Typically, user will press the power or the home button to see if the device is responding
or to do a force restart.

By forcing a sync on KEY_POWER or KEY_HOME pressed, it will flush all the caches and prevent data corruption
and further more, prevent boot loop in these situations.

All the rest situations, when the device is NOT stalled and fully operational,
it will still not be a bad thing since dyn_fsync is calling sys_sync() on suspend as well.
Build v3.25