V4L/DVB (13644): v4l: add new v4l2-subdev sensor operations, use g_skip_top_lines...
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 11 Dec 2009 14:14:46 +0000 (11:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 16 Dec 2009 11:27:13 +0000 (09:27 -0200)
commit325361088b73269f4cc96256276a142addbf3454
tree6a18f4b10d1df53bfae4a773480fdadfad587b62
parent11e3d1adbe0246fc8d6c06f7e42aff5bead25670
V4L/DVB (13644): v4l: add new v4l2-subdev sensor operations, use g_skip_top_lines in soc-camera

Introduce new v4l2-subdev sensor operations, move .enum_framesizes() and
.enum_frameintervals() methods to it, add a new .g_skip_top_lines() method
and switch soc-camera to use it instead of .y_skip_top soc_camera_device
member, which can now be removed.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Reviewed-by: Hans Verkuil <hverkuil@xs4all.nl>
Reviewed-by: Sergio Aguirre <saaguirre@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m001.c
drivers/media/video/mt9m111.c
drivers/media/video/mt9t031.c
drivers/media/video/mt9v022.c
drivers/media/video/pxa_camera.c
drivers/media/video/soc_camera_platform.c
include/media/soc_camera.h
include/media/v4l2-subdev.h