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>
Merge "msm: mdp: Validate input arguments from user space"
diag: Exit from the loop if there is no data available to read

Currently if there is no data available to be read on DIAG_CNTL
channel, apps diag is waiting to read further data. This patch
removes the waiting logic and exit from the loop if there is no
data available to read.

Change-Id: Ic6041b3254f492353751db65704afa96bd8db274
CRs-Fixed: 750885
Signed-off-by: Katish Paran <kparan@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 "diag: Exit from the loop if there is no data available to read"
msm: nand: Add support for MSM bus voting

Add support for MSM bus voting to make sure buses
are voted for required clock frequency during NAND
data transfers.

Change-Id: I7d22ce9a772a7e3901acb138caf1565da7c7b7b1
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
Merge "msm: nand: Add support for MSM bus voting"