Revert "ASoC: msm8974: Rearrange Listen DAI links"

This reverts commit 616d829a76cbd65d39d65045af6fe500c1f079ac

Change-Id: I39ad1051ee512998deca1da48501d134c786dcc7
Revert "ASoC: msm: Add MultiKeyword support for Listen"

This reverts commit a68af5f93b743cc4b5b1c7bd62adbae46541403b

Change-Id: I7a797e2bdac8fa47c261485fea69c573b55484b4
Merge "Revert "ASoC: msm: Add MultiKeyword support for Listen""
Merge "Revert "ASoC: msm8974: Rearrange Listen DAI links""
Revert "ASoC: msm: Add MultiKeyword support for Listen"

This reverts commit cc08b2b222a278e030b9064611eb4a8cc8b86d39

Change-Id: I6b2afcc5a68f31dd25a6b8659f5ea5a60164f7ae
Revert "ASoC: msm: qdsp6v2: Userspace interaction cleanup"

This reverts commit fc16b9d3d59987732c683ec85f727e3141ce068c

Change-Id: I657884d7cd8123cdffe5a1e1a5775645c340aa1f
Merge "Revert "ASoC: msm: qdsp6v2: Userspace interaction cleanup""
Merge "Revert "ASoC: msm: Add MultiKeyword support for Listen""
ASoC: msm: Fix ADM GET PARAM callback.

Add size check on inband get param call and do
not process inband if RTAC is active.

Change-Id: I2c099f5ea254a214f224dda556773a7fe6754fe5
CRs-fixed: 548397
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Signed-off-by: Abhinav Gurram <c_abhina@codeaurora.org>
msm: mdss: add support to validate pixel extension calculations

If a layer needs a scaling than its pixel extension values are calculated
in the user-space library and passed down to driver. Currently driver
blindly programs these settings to HW without validating for correctness.
This leads to HW hangs and stability issues. Add a proper sanitization
checks for pixel extension and report error back to user-space if any.

Change-Id: I086cf0b23fbccd37a23bb509f067bffdf396c247
Signed-off-by: Ujwal Patel <ujwalp@codeaurora.org>
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
msm: mdss: fix bug for validating pixel extension calculations

While validating pixel extension calculations from user space,
validate the over fetch pixels with image dimentions in both
horizontal and vertical directions.

Change-Id: I8e39e89d9ace8e26237b3b23ca375456abd804a1
Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Merge "msm: mdss: add support to validate pixel extension calculations"
Merge "msm: mdss: fix bug for validating pixel extension calculations"
Merge "ASoC: msm: Fix ADM GET PARAM callback."
qseecom: Check if ce clock is enabled before sending cmd to TZ

Make change to check if ce clock is enabled before sending command
to TZ, then to prevent data aborting if clock is not enabled for
TZ crypto operation.

CRs-Fixed: 726840
Change-Id: I55b5b10ad80e741c39f8cf411f67e6b83887f3bb
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
qseecom: Enable/disable clock for client if bus scaling is not enabled

To avoid the service failure on a target where bus scaling flag is not
enabled in target device tree file by mistake, make a change to enable/
disable crypto clocks when the client calls to scale up bus bandwidth
and send command even if bus scaling feature is not enabled.

CRs-Fixed: 726840
Change-Id: Ib33a535051b68561bde5ab6a23ad0f02dc27ab13
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
Merge "qseecom: Check if ce clock is enabled before sending cmd to TZ"
Merge "qseecom: Enable/disable clock for client if bus scaling is not enabled"
crypto: msm: check potential integer overflow

According to the specification of AEAD, AEAD request crypt length is
not a fixed maximum and associated length is also same. This could
lead to potential integer overflow, thus allocating less memory. So
we need to check potential integer overflow on AEAD request length.

CRs-Fixed: 726872
Change-Id: Ie7708000bfd8c57e2fba8e02230a7ce9cdc9634c
Signed-off-by: William Clark <wclark@codeaurora.org>
Merge "crypto: msm: check potential integer overflow"