Revert "Revert "cpufreq: interactive: don't scale beyond min if the load is low""

This reverts commit 717f18014fb785e7cb760233c5b0cd1ab68268e1.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
Revert "qup_i2c: Initialize I2C resource before registering."

* Thanks @Dorimanx and @neobuddy89 for reporting higher power drain.

This reverts commit 020ea2daa55ca5d421e19053703de3a052aa8f6d.

Signed-off-by: Dan Trifan <jimsth@gmail.com>
asoc: msm: Fix compress capture

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

Change-Id: I898cfdabce862ab4f551c2903e53fe1d3d76a368
Signed-off-by: Dan Trifan <jimsth@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>
Signed-off-by: Dan Trifan <jimsth@gmail.com>