vidc: Backport from CAF kk_2.7_rb1.34
*Patched for 3.0 kernels
Signed-off-by: Sultanxda

Change-Id: Ib3047dc66b7942fe5145a4b1c3d959632bc6eff6