ASoC: msm: Add support for 4 channel recording

Enable 4 channel recording in kernel

Signed-off-by: Mingming Yin <mingming@codeaurora.org>
Change-Id: I91c76e21a4080c0542a63555f0258010ed061fc0

Conflicts:
	sound/soc/msm/msm-pcm-q6.c
ASoC: msm: Fix the issue that freed data structure is accessed

When there is a failure while opening q6asm capturing stream,
it releases the q6asm data structure which is accessed by
stream closing function and lead to a crash. Resolving the
issue by freeing the data structure in closing function
instead of during opening failure.

Change-Id: Ie45335a98be21d3b6035115241f657185a918be0
CRs-Fixed: 373438
Signed-off-by: Jay Wang <jaywang@codeaurora.org>
ASoC: msm: Fix crash during FM recording.

Call reg_phy_stream only after q6asm_open_read succeeds.

CRs-fixed: 376685
Change-Id: I64951b6c51f8cc9212a691ad087ab0008e9fcb7a
Signed-off-by: Mingming Yin <mingming@codeaurora.org>
ASoC: msm: Fix NULL pointer dereference issue.

Dereferencing of elements stored in array 'buf' whithout checking
will cause a crash.

Change-Id: I550c10a7f2e21886a2aabe038705af848f4d8998
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
ASoC: msm: Add 12000Hz and 24000Hz support to ALSA driver

ALSA framework does not support audio playback with sampling rate
12000Hz and 24000Hz. Add 12000Hz and 24000Hz support to ALSA
driver.

CRs-Fixed: 353893
Change-Id: I60448d63122b18ab2ec970356dd209d116249553
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
Revert "Adding Zram From 3.6.0 upstream to overcome the x86 dependancy"

This reverts commit da3f09d665c4b70bc8eee7fe7deff5efe00c5b2f.

Broke zRAM instead of enhancing it
Revert "dynamic fsync: add kernel panic notifier to force flush outstanding data"

This reverts commit 0dd89021fc94d2ccf32db1c6d031342755becd1d.

Start a revert of Dyanmic fsync, occasionaly causes a kernel panic.
To be replaced with franco's toggle.
Revert "Dynamic fsync: Fixup compatibility with 3.0.y kernel"

This reverts commit 74b018e12cf5051bfcae9c86b8ab3f36cd903f1c.
Revert "dynamic fsync: favor true case since most will be using this feature"

This reverts commit 6d299042e37ad86310584b33fb389e199b0c0d63.
Revert "dynamic filesync: add some cache optimizations"

This reverts commit 092dff601d7ac20287909f55ffe20e4c927d6e9f.
Revert "fs/dyn_fsync: check dyn fsync control's active prior to performing fsync ops"

This reverts commit d618064cb2336f1b2aa3ba27647ffa6b0521ed6c.
Revert "fs/dyn_sync_cntrl: dynamic sync control"

This reverts commit 56de8ed013cf118a2f0f9dedd1a187d70f5d4853.
Revert "switch do_fsync() to fget_light()"

This reverts commit aee3911d42d0baa862b8c25739225e71ad5b14d9.
sync.c: add a module_param to fsync() calls. fsync is still disabled by default but users will have the choice of having a faster build or a safer build (for data integrity). Props for simms for busting my ass off with this one :)
Merge branch 'cm-10.1' of github.com:razrqcom-dev-team/android_kernel_motorola_msm8960-common into cm-10.1
interactive: Sync changes with Moto changes from stock kernel

Allows for more paramters
Revert "interactive: Sync changes with Moto changes from stock kernel"

This reverts commit de2f8955b411f0d1f93b392244e0086c8cf826d3.

it would be nice to keep the 3.4 changes. A pain to merge back in.
Merge io_is_busy paramter from Moto
Revert "sync.c: add a module_param to fsync() calls. fsync is still disabled by default but users will have the choice of having a faster build or a safer build (for data integrity). Props for simms for busting my ass off with this one :)"

This reverts commit 73e354d3cdfe31c097fc64f34c4d5a8831ae2ddd.
sync.c: add a module_param to fsync() calls. fsync is still disabled by default but users will have the choice of having a faster build or a safer build (for data integrity). Props for simms for busting my ass off with this one :)