msm: vidc: Initialize kernel space stack variables

This change initializes kernel space stack variables
that are passed between kernel space and user space
using ioctls.
Non initialization of these variables may lead to
leakage of memory values from the kernel stack to
user space.

Change-Id: Icb195470545ee48b55671ac09798610178e833e1
CRs-fixed: 556771,563420
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Signed-off-by: srikarri <sridur@codeaurora.org>.
qseecom: Remove debug  messages

Remove unnecessary debug  messages.

Change-Id: Ida80fbc1376f15753f8329c44550b14d8f4de163
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
qseecom:  Check for case where listener service is not found

When listerner service is not in the list of registered listeners,
the resulting ptr will a NULL. Check for this case of NULL ptr
to indicate missing listener service.

Change-Id: I0d2c7b01143c40711f71bf434493ac5301314cf2
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
msm: qdsp6v2: Deleting kernel driver from arch/arm/mach-msm

Drivers are registering under misc driver but exists under arch/arm/mach

Change-Id: I6210ed2ffbc38608914fb765b8e50ac6d97950ff
CRs-Fixed: 554492
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
crypto: msm: Ensure sha_init is called for HASH operation

Validate that the sha_ctx is initialized before any SHA operation
(update, final) requests is issued by client.

Change-Id: I83ac2000d860dfef5532910a2a73cd927b68e95f
Signed-off-by: Mona Hossain <mhossain@codeaurora.org>
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
msm: qdsp6v2: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: Ieed0959ed499fd3cc8990247c99fa70d910aa81f
CRs-Fixed: 561611
Signed-off-by: Mohammad Johny Shaik <mjshai@codeaurora.org>
msm: qdsp6v2: memset stack buffer allocation.

This is needed to avoid garbage data in uninitialized variables.

Change-Id: I2db09c4bbaa651c0af41c5c50ba77d22c00b70bc
CRs-Fixed: 553304
Signed-off-by: Asish Bhattacharya <asishb@codeaurora.org>
ASoC: msm: qdsp6v2: Propagate device HW delay to AFE.

 - HW delay for each supported device is maintained in
   ACDB. This needs to be propagated to AFE for timestamp
   calculation in voice path. AFE provides device HW and
   SW delays to CVD; based on which timestamps are calculated
   for voice packets.

Cherrypick from: I959676c1ee4e0568e661e7666a61c98152344047

Change-Id: I02c59462560749da3a1cfe2f8f614b939102e527
Signed-off-by: Srikanth Katta <skatta@codeaurora.org>
Signed-off-by: Pradnya Chaphekar <pradnyac@codeaurora.org>
Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE."
Merge "Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE.""
Merge "Merge "Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE."""
msm_serial_hs: Programming Auto RFR Ctrl bit

1.)Disable the auto RFR before forcibly making the RFR
line HIGH from the driver to avoid the controller
changing it's state with out driver's knowledge and
enable the auto RFR instead of making the RFR line
forcibly LOW.So that controller will make it LOW
based on the rx FIFO condition
2.)Due to unexpected data received from the client during
clock off sequence, the clock off sequence is going
into wrong state and eventually leads to uart hardware
mess up
This patch doesn't allow any data from the client during
clock off sequence is in progress

CRs-Fixed: 546216
Change-Id: Ib5b3099dbf05d71ef05c1269788ee6c56353b037
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
Signed-off-by: Dilip Kota <c_dkota@codeaurora.org>
msm: vidc: Set input buffer size dynamically

This change supports overriding of default input
buffer size using a set parameter call from the
client.

Change-Id: I5225ec53ba16b68aeedd4c30897bd291e81b4b09
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
Merge "Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE.""
Merge "qseecom:  Check for case where listener service is not found"
Merge "qseecom: Remove debug  messages"
Merge "Merge "Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE."""
msm: mdm: Changes to implement notifications from the mdm-driver

mdm-driver can now send notifications.

Change-Id: Idacf0a1d26a40ecd277407240f797ede72fb5b31
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
msm8930 sglte: Add subsys name for external QSC.

The QSC modem on 8930 SGLTE devices now has a name associated
with it in the mdm driver

Change-Id: I5f1093fbdd43de6284781e26bd07db795b0a0205
Signed-off-by: Ameya Thakur <ameyat@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
input: cyttsp-i2c-qc: Add debugfs support for suspend/resume.

Debugfs entry for touch device suspend/resume test.

CRs-fixed: 582289

Change-Id: I2d8e40059671d58bd4cfb6b74f6ba253366cb3c5
Signed-off-by: Sarada Prasanna Garnayak <c_sgarna@codeaurora.org>