msm: rq_stats: Disable hotplug and stats by default

Userspace closed source mpdecision binary is nessecary for PowerHAL to work.
As it depends on rq_stats, let's at least disable hotplugging and stats
collection by default. /sys/devices/system/cpu/cpu0/rq-stats/hotplug_disable
is now writable, so hotplug can be reenabled.

Also, add some bits related to current cpu policy.
cpufreq: Optimize cpufreq_frequency_table_verify()

cpufreq_frequency_table_verify() is rewritten here to make it more logical
and efficient.
 - merge multiple lines for variable declarations together.
 - quit early if any frequency between min/max is found.
 - don't call cpufreq_verify_within_limits() in case any valid freq is
   found as it is of no use.
 - rename the count variable as found and change its type to boolean.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
cpufreq: Break out early when frequency equals target_freq

Many drivers keep frequencies in frequency table in ascending
or descending order. When governor tries to change to policy->min
or policy->max respectively then the cpufreq_frequency_table_target
could return on first iteration. This will save some iteration cycles.

So, break out early when a frequency in cpufreq_frequency_table
equals to target one.

Testing this during kernel compilation using ondemand governor
with a frequency table in ascending order, the
cpufreq_frequency_table_target returned early on the first
iteration at about 30% of times called.

Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
touchscreen: Import Sweep2Sleep from Condor tree
 - Driver originally from @showp1984's hammerhead tree
 - Adapt definitions for Titan based on my Falcon values
 - Adapt for S2S use only
 - Adapt for Bi-Directional gestures

Conflicts:
	drivers/input/touchscreen/Makefile
input: sweep2wake: Adapt for 1920x1080 panel
kcal: remove old
MSM KCAL: init
LCD_KCAL: Adapt LG's mdss_mdp panel invert feature

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pp.c

Conflicts:
	drivers/video/msm/mdss/mdss_mdp_pp.c
LCD_KCAL: Raise/Lower values using Sweep2Sleep gestures
LCD_KCAL: Fix incorrect refresh usage
LCD_KCAL: Fix improper bounds checking
ark: 0.7.exp.10