intelli_plug: switch to use dedicated high priority workqueue
from the shared global workqueue.  This should prevent hang ups while the
global workqueue is busy and cleaned up some logic issues.

give input boost its own workqueue

bump to version 2.2

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelli_plug: code review clean up
set def sampling rate to something sane rather than zero (instantaneous
rescheduling is not good if intelli_plug is disabled)

make touch input more generic rather than tied to a touchscreen driver

remove unused code

thanks to @dorimanx for the code reviews and suggestions

bump to version 2.3

Signed-off-by: Paul Reioux <reioux@gmail.com>
intellidemand: remove sampling rate updates based on suspend
this is causing a rare race condition where every once in a while, the phone
will not wake up properly from a suspend/resume cycle.  Disable for now
until I have more time to debug this properly

Signed-off-by: Paul Reioux <reioux@gmail.com>
Re-enable Intelliplug & Intellidemand
Build v3.25 Alpha 1
intellidemand: Fixes & tuning
intelli_plug: Fixes & bump to version 2.4 by dorimanx
Intelli HotPlug v3.0 Big rework by @Alucard24 and @Dorimanx

https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/8ca20118887c702df098878a43732bd3cd099ae6
https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/633a32e408278f4afab5e135df3ce9a29a10c361
https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/47a45fbd9a368e35bbb7320b3d5263fcc6258d31
https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/a2bd85a2908ee3e9aceb2b53e1a3d92f54d403ce

BRAVO! to US! :)
Optimized intelli_plug.
Intelli HotPlug fixes!

intelli Hotplug can be selected via STweaks only.
or till faux will add nw path to his app!

/sys/kernel/intelli_plug/intelli_plug_active

-rw-rw-r--    1 root     root          4096 Mar 27 13:58 busy_persistence
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 busy_sampling_ms
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 cpu_down_factor
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 debug_intelli_plug
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 def_sampling_ms
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 dual_core_persistence
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 eco_mode_active
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 intelli_plug_active
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 nr_fshift
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 nr_run_hysteresis
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 quad_core_persistence
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 strict_mode_active
-rw-rw-r--    1 root     root          4096 Mar 27 13:58 tri_core_persistence
Mod Intelli HotPlug
Fixed Intelli HotPlug Driver. now works! and not killing CPU on Stress.

Driver was using too high msec value! it's not USEC! it's MSEC!

Normal CPU operation needs 10000 to 80000 usec! that = 10 to 80 MSEC
Intelli HotPlug add protection for too high values! that user can set.
Intelli HotPlug: Prevent deadlock! Idea by @alucard24

https://github.com/Alucard24/Alucard-Kernel-jfltexx/commit/397a521941954378ec19846efbaa1722aefde6a5
Intelli HotPlug: V3.1 Corrected Gov Start/Stop.
cpufreq: intelliactive: initial coding and introduction!

intelliactive is based on Latest Google Interactive cpufreq governor from
Google.  The original Interactive provides smooth UI operations but suffers
slight battery drain due to its aggressive policies.  Intelliactive is an
improvement built on top of it.

It has the following enhancements added:
1. self-boost capability from input drivers (no need for PowerHAL assist)
2. two phase scheduling (idle/busy phases to prevent from jumping directly to
   max freq
3. Checks for offline cpus and short circuits some unnecessary checks to
   improve code execution paths
4. removed trace calls

Signed-off-by: Paul Reioux <reioux@gmail.com>
intelliactive: fix race condition when unregistering input handlers

Signed-off-by: Paul Reioux <reioux@gmail.com>
CPUFREQ: give some power to intelliactive! allow max freqs, set 2.3Ghz as boost!
intelliactive: add upstream patches

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