kernel/futex.c: Add missing/fix changes to Linux 3.4.105

(cherry picked from commit a2acb737b886da90f3bb2b3450f77d96194689ae)
ASoC: wcd9xxx: Handle fake mechanical interrupt

Handle fake mechanical interrupt during slow insertion of
headset usecase when the plug type is detected as lineout.

CRs-Fixed: 754305
Change-Id: I559309915771b633c6f1677f020459b8afc1f574
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>

(cherry picked from commit 86025e37fd5afcc5165b95205d963631c00702ae)
ASoC: wcd9xxx: Continue polling for Unsupported plug types

Sometimes slow insertion of headphone could lead to
detection of unsupported plug types. In these cases,
continue polling so that headphone can be detected
once it is fully inserted.

CRs-Fixed: 745214
Change-Id: I4fe40d1afe71a5b1f5c8e8e69ba3afe16750161e
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>

(cherry picked from commit 77ec272c381b8f504af440d9dd9435ff94c05d9a)
ASoC: msm: qdsp6v2: set stream volume before starting it

Volume gains for a stream should be set before sending
RUN command to DSP. This will avoid any glitch in audio
which might occur because of rapid change in volume level
while setting up the appropriate volume for the stream.

CRs-Fixed: 753619
Change-Id: Ib9270929759852f671bf3677f6e4cc826997b76a
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
msm: vidc: Increase I-frame period to INT_MAX

There is no restriction on I-frame and IDR period
values, so set them to INT_MAX.

Change-Id: I364ead16c3b8b8463fc8180159e5ee1f9fa10f37
Signed-off-by: Arun Menon <avmenon@codeaurora.org>

(cherry picked from commit 0aca818dc269d4dbd51163bb1fab14e6dfa4ebe8)
ASoC: msm: update min buffer count and size

Update minimum buffer size and count to provide more
options to the client.

Change-Id: Ia303978f4e4b230e021a2ae35146328b1c594460
Signed-off-by: Divya Narayanan Poojary <dnaray@codeaurora.org>

(cherry picked from commit 2571fb8e8da274e47fceb4650accbfc5e14b22a9)
ASoC: msm: reorg q6core header file

This is needed to allow include from
non soc folder.

CRs-Fixed: 689849
Change-Id: I753012d5ce9c5a788e75b4edf9b0099b58b30ec0
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>

(cherry picked from commit 2a91395b2d46ac2c621ca12aa5f7e93162c16d48)
Revert "hlte: add flag -Wno-sizeof-pointer-memaccess for now"

This reverts commit 0016e0e736a34b417bb36e0699ebfd0c12a1ccd6.

Conflicts:
	Makefile
msm: bam_dmux: Fix snprintf length usage

Change-Id: I8dd313a30cfb31de2c5da669a131abcbbe4dc649

(cherry picked from commit 8a600889e02cf8c2789d801d19e36d06832a136e)
barcode_emul_ice4: Fix snprintf length usage

(cherry picked from commit 1bd27f7d8d68e32eef166a8a194c57ea1af064b9)
mdss_samsung_dsi_panel: Fix snprintf length usage

(cherry picked from commit 83a0ffe258c560e4bf7faa9445aeaf3b34cb3299)
sec_misc: Fix snprintf length usage
sec_param: Fix snprintf length usage

(cherry picked from commit a60faa9b4ce12198cafe59ad0a0a3d1e1d14ff61)