ASoC: Change Ear PA disable sequence

Current code disables Ear PA clock before Ear PA is
disabled completely. This produces a tick noise when
a voice call is disconnected. The changes disables the
Ear PA clock after the Ear PA is disabled completely.

CRs-Fixed: 629477
Change-Id: Id8f0f36dbe56b752da40f4b7f571a905f6292241
Signed-off-by: Aravind Kumar <akumark@codeaurora.org>
Staging: android: binder: More offset validation.

Make sure offsets don't point to overlapping flat_binder_object
structs.

Conflicts:
	drivers/staging/android/binder.c

Change-Id: I425ab0c46fbe2b00ed679c5becf9e8140395eb40
Signed-off-by: Arve Hjønnevåg <arve@android.com>
Git-commit: 457c3cd05958b8397211ae1f6dd3c3d325f4c0ea
Git-repo: https://android.googlesource.com/kernel/common/
Signed-off-by: Neeti Desai <neetid@codeaurora.org>
Signed-off-by: Ajay Dudani <adudani@codeaurora.org>
Signed-off-by: Nirmal Abraham <nabrah@codeaurora.org>
Signed-off-by: Prados Das <prados@codeaurora.org>
msm: mdss: enforce cleanup of dma pipes on rotator queue

When queuing buffer to rotator, DMA pipes should only be used by
rotator. In case DMA pipes are pending cleanup, perform a kickoff so
that the dma pipes are freed before the rotator session is queued.

CRs-Fixed: 473133
Change-Id: I29f629a2bbf290e1130ad5d0259fea462ccc158d
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
msm: mdss: propagate error in case of panel on failure

There are cases in which panel on can fail for any reason, such as
unable to properly get and lock on to hardware resources. For such cases
the error needs to be properly propagated so that the state of MDP can
be reset and user space application can invoke some recovery mechanism.

Change-Id: I0da17038e11e6b972740dd6362c1a75bd2bd2b28
Signed-off-by: Adrian Salido-Moreno <adrianm@codeaurora.org>
overall_stats ported from htc_m8 kernel of @faux123

squashed commits:

overall_stats: add overall stats for all available cores

this is much more accurate stats tracking than just displaying core 0's
stats from most other kernels

Signed-off-by: faux123 <reioux@gmail.com>

overall_stats: make dual/quad core stats configurable via
 meunconfig

Signed-off-by: faux123 <reioux@gmail.com>

overall_stats: forward port to kernel 3.4+

by replacing deprecated functions with native add/sub for 64bit data types

Signed-off-by: faux123 <reioux@gmail.com>
msm: Oppo: Fix gyro init failure

Change-Id: I1836fcae9617f6b68f6bcea9d1ae01e02b6f08d0