media: tegra_v4l2: add dual camera support
authorBryan Wu <pengw@nvidia.com>
Mon, 24 Jun 2013 21:32:10 +0000 (14:32 -0700)
committerMatthew Pedro <mapedro@nvidia.com>
Wed, 16 Oct 2013 22:22:40 +0000 (15:22 -0700)
commit83b4fb0e77eb8950e225e62d0193a26af03e307e
treed29225df8d6ae51907dacf59adcfd3a9c4436768
parentf2054ae01c96275abdc7c323c8adb03795e11c7d
media: tegra_v4l2: add dual camera support

Add support for dual cameras from both CSI-A and CSI-B:
 - move all the CSI settings into video buffer struct
 - queue the video buffer struct to a dedicated queue
 - process one video buffer struct from the queue at one time

Bug 1369083

Change-Id: Ie64d69282ab991b66e97327e288a2bacde088bd6
Signed-off-by: Bryan Wu <pengw@nvidia.com>
Reviewed-on: http://git-master/r/246269
(cherry picked from commit 228b0c2d9ae3fa1121f88836626d654ae0fc4ff0)
Reviewed-on: http://git-master/r/279987
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Tested-by: Matthew Pedro <mapedro@nvidia.com>
drivers/media/video/tegra_v4l2_camera.c