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>
Signed-off-by: William Clark <wclark@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"
msm: camera: Fix CCI I2C write fail to write for reg addr 0x00

Allow CCI I2C write to 0x00 addressed register in data queue.

Change-Id: I6f3844c95fd6e6d258326e410826da0ee3c27bda
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
msm: mdp: Validate input arguments from user space

Fully verify the input arguments from user client are safe
to use.

Change-Id: Ie14332443b187951009c63ebfb78456dcd9ba60f
Signed-off-by: Raghavendra Ambadas <rambad@codeaurora.org>
ASoC: msm: Add bounds checking to ADM get params

Add additional bounds checking to ADM get params.
Validate that all buffer sizes are valid before
dereferencing.

Change-Id: If7c7a5ae6a56812e9c4a11a38c9bdc78f42d09f3
Signed-off-by: Ben Romberger <bromberg@codeaurora.org>
Merge "ASoC: msm: Add bounds checking to ADM get params"
Merge "msm: camera: Fix CCI I2C write fail to write for reg addr 0x00"
power: qpnp-charger: hot fix for not charging issue

Resolve merging conflict to set IUSBMAX registers when
500mA current is drawn.

CRs-fixed: 751630
Change-Id: I9d8a3db41ee6f0f6912a30418e668651ecc2f515
Signed-off-by: Zhenhua Huang <zhenhuah@codeaurora.org>
Merge "power: qpnp-charger: hot fix for not charging issue"
Merge "msm: mdp: Validate input arguments from user space"