msm: camera: add ion support to native driver

This change adds ion support to native (non V4L2)
camera driver. It also adds ion structures to the msm_frame
structure.
glacier: fixup ion

Change-Id: I2d30d6169358dde2d0bea649964ea6109d2765f8
devices-msm7x30: use ion for vidc

Change-Id: I59059b42165820e1aada949af6314d26462b5e04
msm: vidc: Fix buffer pool index

While searching for the available buffer entry
in the buffer pool the search should begin from
index 1 as zeroth entry is reserved.

CRs-fixed: 366361
Signed-off-by: Mohan Kumar Gubbihalli Lachma Naik <mgubbi@codeaurora.org>
(cherry picked from commit 8c7e367a5ccd1c78c728657a14f08d6956b72e50)

Change-Id: I30f19753d46d2d1db32e949712926e5374d14763
Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
msm: vidc: Allow client to request sps/pps per IDR frame

Expose SET_SPS_PPS_FOR_IDR to allow client request sps/pps per IDR
frame.

Change-Id: Ifc58b89e5bb11f09ee8ce7cce206e8b71d5ef9a0
Signed-off-by: Srinu Gorle <sgorle@codeaurora.org>
msm: vidc: Fix various NULL pointer accesses, memory leaks

This commit fixes various NULL pointer and memory leak bugs.

(cherry picked from commit 636a61f53dbe3cbd327c101d5373f2d876475834)

Change-Id: I8dc1ffc374b7ccdf5b5c1c0b51f1d8347d626c09
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
drivers: update vidc from jb_mr1_chocolate

Change-Id: Ib7ec1d62ca69d7e6023b10c1c273c922a9cc632f