cpufreq: tweak intelliactive
cpufreq: intelliactive: Remove unnecessary cpu_online() check

Cpufreq no longer calls governor callback for offlined cpus. i.e. All
policy->cpus are guaranteed to be online. Hence we don't need explicit check to
see if cpu is online or not.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
cpufreq: intelliactive: Optimize sync_freq implementation

Don't let frequency drop below sync_freq if either load or
frequency among other cpus is above a certain threshold,
not necessarily both.

by myfluxi
intelliactive: Fix Compile Warnings

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
defconfig: enable intelliactive
drivers: thermal: back to 70C throttle point.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
binder: NULL pointer reference

This fix handles a possible NULL pointer reference in
debug message.

Signed-off-by: Paresh Nakhe <pnakhe@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
block: disable add_random for more performance on SSD's
thermal: add a 5C threshold to prevent throttled/unthrottled to be triggered a lot when the CPU temp dwells close to the temp threshold.

Signed-off-by: franciscofranco <franciscofranco.1990@gmail.com>
defconfig: refresh update
LCD KCAL: Fix Gamma max value issue

Major thanks to Yorici Vz for his tireless pursuit of perfection on Nexus 5
Color / Gamma :D

Signed-off-by: Paul Reioux <reioux@gmail.com>
net: wireless: bcmdhd: Disable debug, already in sync with google

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
fastcharge: drop redundancy

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
drivers: slimbus: initial overclocking of slimbus

Increase root freq from 11 (24.526MHz) to 31 max (27+MHz) which is the largest it will take.
Increase clock gear from 7 to 10 (max again)

This means SLIMbus will use its maximum potential to give the best audio quality for the hardware. Takes advantage of both hardware and the mods from zeroinfinity, also opening the door for more things that were previously limited by this. Researched and experimented by ZeroInfinity and Poondog

Signed-off-by: poondog <markj338@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
defconfig: slimbus changes
defconfig: update refresh
defconfig: Disable MSM Run Queue stats
msm: rq_stats: Calculate load based on current freq limit

We are not using rq_stats any more so this commit is just for the
sake of completeness.  Prior to this patch, load has been calculated
based on an initial value of policy.cpuinfo.max_freq. This value may
change for several reasons: userspace settings, thermal throttling
(hello hammerhead!) or extended frequency tables where the absolute
maximum level is often not used during regular operations. This
results in unreliable calculations. Consider current policy.max to
fix this behaviour.
slimbus: Optimize overclocking of master component

* Change root frequency to optimal value (11 was default)
* Add 44khz and 48khz to default SLIM RATES

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
mach-msm: Remove smd debugging

* Most of the debug options are enabled only by defconfig.  Here is an instance where that is not the case.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>