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>
wlan: ARGENTINA CountryCode should be 'AR' in csrApiScan.c

ARGENTINA CountryCode is 'AG' in csrApiScan.c, this is wrong.
ARGENTINA CountryCode should be 'AR' in csrApiScan.c

Change-Id: I7722d4e841f11b26ae92f61c166c7bf2a99c1959
CRs-fixed: 573483
wlan: P2P IE needs to be added for the non-P2P station interface.

P2P IE is not being included in association request frame from
DUT (p2p device) although the wpa_supplicant has been set P2P IE.
When wpa_supplicant requests the P2P IE to be added. Driver should
not filter on some basis.

CRs-Fixed: 579418
Change-Id: I86867eb99992567fa52c524f8931663e22f0180c
wlan: 11d Channel list is empty.

In csrResetCountryInformation, after applying channel list to
csrApplyChannelPowerCountryInfo, 11d channel list is empty.
So in csrApplyCountryInformation use base20MHzChannels
instead of 11d channels.

CRs-Fixed: 575005
Change-Id: Ief9e51b3ee12a83c529f483862a497c43267c90e
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 "wlan: ARGENTINA CountryCode should be 'AR' in csrApiScan.c"
Merge "wlan: P2P IE needs to be added for the non-P2P station interface."
Merge "wlan: 11d Channel list is empty."
wlan:Incorrect 11n link rate displayed on GUI

Incorrect link rate is displayed on GUI when STA
associates to a 11n supported AP.'gReportMaxLinkSpeed'
is configured as 'eHDD_LINK_SPEED_REPORT_MAX'.

Change-Id: Ia57077d176f9ed76ea64e61a4f468328e17b7227
CRs-Fixed: 572139
Merge "ASoC: msm: qdsp6v2: Propagate device HW delay to AFE."
wlan: DroidSec: String handling and input validation issues

Fix to address String handling and input validation issues
in function hdd_parse_reassoc_command_data and
hdd_parse_channellist

1. Input character buffer is zero terminated
2. Helper function is added to verify MAC address
3. return value of sscanf is checked

Change-Id: I29042599b9d0a411578930950d9f482866d4790c
CRs-Fixed:  553494
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>
Merge "wlan: DroidSec: String handling and input validation issues"
Merge "wlan:Incorrect 11n link rate displayed on GUI"