msm: mdss: Fix check for highest of overlap and prefill bw calc

This check is supposed to be used to get the max between overlap and
prefill bandwidth value. This value is used when calculating the ib
bandwidth value to request when bus bandwidth is updated. Having a value
that is too low results in mdp underrun.

Change-Id: Iddf151eed53c8ae73418741b2775ee1dd0ef450c
Signed-off-by: Terence Hampson <thampson@codeaurora.org>
Signed-off-by: Vinu Deokaran <vinud@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>
Signed-off-by: Abhinav Gurram <c_abhina@codeaurora.org>
Merge "ASoC: msm: Add bounds checking to ADM get params."
Merge "msm: mdss: Fix check for highest of overlap and prefill bw calc"
Merge df67189dd117048406b3fc3e4ea137d5dfb78f40 on remote branch

Change-Id: Ib785c3b0631465901c77e4dd1afe1b9261f0991f
Merge "Merge df67189dd117048406b3fc3e4ea137d5dfb78f40 on remote branch"