msm: vidc: Validate userspace buffer count

Makesure the number of buffers count is less than
the maximum limit to avoid structure overflow errors.

Change-Id: Icf3850de36325637ae43ac95f1c8f0f63e201d31
CRs-fixed: 563694
Signed-off-by: Pachika, Vikas Reddy <vpachi@codeaurora.org>
msm: vidc: Validate userspace buffer count before using it

Validate the number of buffers count variable before
using it to avoid structure overflow error.

Change-Id: I61582c93e0f26ec6842e437134fb8a42bdbc36ff
CRs-fixed: 563654
Signed-off-by: Pachika, Vikas Reddy <vpachi@codeaurora.org>
ARM: dts: msm: Modify bus vector for RNG client on msm8226

Modify the RNG (Random Number Generator) bus vector to use a different
originating master id,this change helps alleviate some slowdowns in boot
time noticed in targets where CPU is artificially bus throttled below a
threshold frequency.

CRs-Fixed: 606371
Change-Id: Ie7ed2bdf863fb4ccb4bc6d5ca7855eb40b959277
Signed-off-by: Sana Venkat Raju <c_vsana@codeaurora.org>
Merge "ARM: dts: msm: Modify bus vector for RNG client on msm8226"
Merge "msm: vidc: Validate userspace buffer count before using it"
Merge "msm: vidc: Validate userspace buffer count"