V4L/DVB: V4L2: sh_mobile_camera_ceu: add support for CSI2
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Mon, 26 Jul 2010 15:13:34 +0000 (12:13 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 19:43:40 +0000 (16:43 -0300)
commitb3b5020d8c12037f030242aab8e272148bf1f472
treeef61f21075c46a5c13252adccc50c303ed9dfd94
parent077e2c10c9cb618d571bf16475db696610bdb24a
V4L/DVB: V4L2: sh_mobile_camera_ceu: add support for CSI2

Using CEU with CSI2 on SH-Mobile requires some special configuration of the
former. We also have to switch from calling only one subdev .s_mbus_fmt and
.try_mbus_fmt to calling all subdevices. Take care to increment CSI2 driver
use count to prevent it from unloading, while in use.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/sh_mobile_ceu_camera.c
include/media/sh_mobile_ceu.h