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>
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.
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>
cpufreq: interactive: Fix a compiler warning.

Based on https://android.googlesource.com/kernel/common/+/4a7cebd91f796fcb9d1e1e5723de27b75f1712d6

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
nf: Remove compilation error caused by
e254d2c28c880da28626af6d53b7add5f7d6afee

Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
disable crc check
fat: limit the number of error prints

Use fat_fs_error_ratelimit instead of fat_fs_error so as to
avoid large number of prints.

Signed-off-by: Asutosh Das <asutoshd@codeaurora.org>
Signed-off-by: Manish Kumar <manishku@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
GPU: add optimization flags to GPU drivers

Signed-off-by: Lens-F <tnoah12@gmail.com>
Signed-off-by: flar2 <asegaert@gmail.com>