soc: qcom: rq_stats: Pass correct cpu id to update_average_load function

Pass correct cpu number to update_average_load function
from cpufreq_transition_handler function. Also avoid div by zero
condition in update_average_load function.

Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
out: Add Qualcomm Audio Effects blobs

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
block: Switch from BFQ-v7r6 for 3.4.0 to BFQ-v7r7 for 3.4.0

. BUGFIX: Prevent the OOM queue from being involved in the queue
  cooperation mechanism. In fact, since the requests temporarily
  redirected to the OOM queue could be redirected again to dedicated
  queues at any time, the state needed to correctly handle merging
  with the OOM queue would be quite complex and expensive to
  maintain. Besides, in such a critical condition as an out of
  memory, the benefits of queue merging may be little relevant, or
  even negligible.

. IMPROVEMENT: Let the OOM queue be initialized only once. Previously,
  the OOM queue was reinitialized, at each request enqueue, with the
  parameters related to the process that issued that request.
  Depending on the parameters of the processes doing I/O, this could
  easily cause the OOM queue to be moved continuously across service
  trees, or even across groups. It also caused the parameters of the
  OOM queue to be continuously reset in any case.

. CODE IMPROVEMENT. Performed some minor code cleanups, and added some
  BUG_ON()s that, if the weight of an entity becomes inconsistent,
  should better help understand why.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
hammerhead: fast_charge: Fix compatibility with kernel apps

* Seems like some kernel apps don't like simplified fast charge
  control. Let's do partial and smart restore to fix compatibility.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
msm: rq_stats: Remove useless iowait function

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Merge remote-tracking branch 'upstream/lollipop' into lollipop