Revert "qup_i2c: Initialize I2C resource before registering."

* Thanks @Dorimanx for reporting higher power drain.

This reverts commit 430b15472228707f262f4fddfafb0a4776e8121e.
msm: thermal: Update nomenclature for module parameters

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
build: Switch to new ramdisk

* Goodbye NXTweaks! T_T
* Hello Synapse! :D

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
cgroup: fix exit() vs rmdir() race

In cgroup_exit() put_css_set_taskexit() is called without any lock,
which might lead to accessing a freed cgroup:

thread1                           thread2
---------------------------------------------
exit()
  cgroup_exit()
    put_css_set_taskexit()
      atomic_dec(cgrp->count);
                                   rmdir();
      /* not safe !! */
      check_for_release(cgrp);

rcu_read_lock() can be used to make sure the cgroup is alive.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: sound_control: Remove clutter

* PA gain is fully automatic now with latest device tree
  updates. So, we don't require it anymore.
* Do not cache registers we don't actually use.
* Basic cleanup.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ARM: dts: msm8974: Reduce throttling temperature default limit

* Reduce it to 70 before crowd complains.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
ASoC: msm: Fix compress capture

 * Capture endpoints were not being properly registered, resulting in
   failure to record AMR_WB formats. Fix it.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: alucard_hotplug: Remove it

* We are not using this hotplug driver since long time.
* Clean it up.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: msm_rq_stats: Tone down mpdecision

Add a new Kconfig to enable more conservative computations sent
to mpdecision:

 * Do not make IO busy
 * Do a time window weighted load computation instead of just a sum
 * Do an sliding window averaged time computation for number runnable

The purpose of these changes is to make mpdecision less likely to
keep extra cores online.  It currently has a tendancy to run more
cores running than needed and this can even cause some lag issues.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
sched: Compute avg_nr_running for RQ Stats

* We already compute avg_nr_running for intelli hotplug.
* Let's make it available for conservative stats of MSM RQ as
  well.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: msm_rq_stats: Add proper attribute to enable hotplug

* hotplug_disable attribute resets when device suspend and
  sets when device resumes.
* Thereby, the value is dynamic. Perhaps, this value is read
  by userspace, so we don't want to mess with it further.
* Restore hotplug_disable to original format of read-only.
* Introduce hotplug_enable attribute which will do the job.
* We have "enable" attribute for other hotplug drivers, so
  this implementation aligns with them.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Revert "out: audio_policy: Re-add separate FAST device path"

* This is still not where it needs to be.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
defconfig: Update

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Merge github.com:neobuddy89/hammerhead_kernel_caf into hammerhead-kernel