initial commit
Reverted. i2c bus frequencies to dynamic.
Add support for audio jack detection.
Battery standart. Futex improvments. Stereo Voice rec.
Update sound DT according to Samsungs original kerenl.
Cpufreq: setting cpu_freq min and max policy at boot.
ASoC: Removed ANC_HEADPHONES. Reverted to stock mbhc initialization.

This fixes stereo mic recording volume used by camcorder. And speeds up
headphones detection. Also this fixes crash while pluging in headphones
and playing through BT simuletaneously.
msm: kgsl: Mark the IOMMU setstate memory as read only

Mark the IOMMU setstate memory as read only in the pagetable.
msm: kgsl: Protect CP_STATE_DEBUG_INDEX

Put CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection
to keep it from being written from an IB1. Doing so however opens
up a subtle "feature" in the microcode: memory read opcodes turn off
protected mode in the microcode to do the read and then turns it
back on regardless of the initial state. This is a problem if the
memory read happens while protected mode is turned off and then we
try to access a protected register which then complains and goes boom.

To account for this irregularity explicitly turn back off protected
mode in all the places where we know this will be a problem.
ASoC: Removed ANC_HEADPHONES. Reverted to stock mbhc initialization.

This fixes stereo mic recording volume used by camcorder. And speeds up
headphones detection. Also this fixes crash while pluging in headphones
and playing through BT simuletaneously.
Merge branch 'cm-11.0' of https://github.com/solk2/kernel_samsung_ks01lte into cm-11.0
Revert "msm: kgsl: Protect CP_STATE_DEBUG_INDEX"

This reverts commit 16611a379f73ed3e918ec4d6fbe8eabe5e0d8808.
Revert "msm: kgsl: Mark the IOMMU setstate memory as read only"

This reverts commit 12b6a300911d47c587d6823ba1b90176d48dff88.
msm: kgsl: Mark the IOMMU setstate memory as read only

Mark the IOMMU setstate memory as read only in the pagetable.
msm: kgsl: Protect CP_STATE_DEBUG_INDEX

Put CP_STATE_DEBUG_INDEX and CP_STATE_DEBUG_DATA under protection
to keep it from being written from an IB1. Doing so however opens
up a subtle "feature" in the microcode: memory read opcodes turn off
protected mode in the microcode to do the read and then turns it
back on regardless of the initial state. This is a problem if the
memory read happens while protected mode is turned off and then we
try to access a protected register which then complains and goes boom.

To account for this irregularity explicitly turn back off protected
mode in all the places where we know this will be a problem.
msm: display: Add pipe type selection in overlay request

Allow user to specify the type when requesting an overlay pipe.
If field is set the pipe type indication in the flags will be
ignored.
ASoC: DPCM: Remove redundant code introduced during framework update

There is redundant code introduced during ALSA DPCM update to add
support for compressed audio, which calls the soc_pcm_prepare()
twice. Update to remove the reduandant code.
ASoC: compr: timestamp fix for non-gapless mode

Cache last known playback timestamp before resetting the
in use session in preparation for possible re-use of the
same session.
ASoC: msm: propagate the error code from the compr driver

Propagate the error code to the upper layers to avoid the
unwanted sequence of the commands to DSP.
ASoC: compr: Disable soft-pause for compress playback

Soft-pause (i.e pause ack after a timeout) adversely affects
audio/video sync during pause/resume use cases leading to some
frame drops. Disable this feature for compress playback.
ASoC: msm: Configure correct gain on set Volume command

Output channel gain is product of per channel gain and master gain.
Hence if only per channel gain is set and master gain is set to 0
then no audio is heard at the output.
Ensure that if we change per channel gain then we set master gain
to unity and vice versa. This enables only one gain to be effective.