diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-12-11 09:14:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-16 06:27:13 -0500 |
commit | 325361088b73269f4cc96256276a142addbf3454 (patch) | |
tree | 6a18f4b10d1df53bfae4a773480fdadfad587b62 /drivers/media/video/mt9m111.c | |
parent | 11e3d1adbe0246fc8d6c06f7e42aff5bead25670 (diff) |
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>
Diffstat (limited to 'drivers/media/video/mt9m111.c')
-rw-r--r-- | drivers/media/video/mt9m111.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m111.c index 90da699601ea..30db625455e4 100644 --- a/drivers/media/video/mt9m111.c +++ b/drivers/media/video/mt9m111.c | |||
@@ -1019,7 +1019,6 @@ static int mt9m111_probe(struct i2c_client *client, | |||
1019 | 1019 | ||
1020 | /* Second stage probe - when a capture adapter is there */ | 1020 | /* Second stage probe - when a capture adapter is there */ |
1021 | icd->ops = &mt9m111_ops; | 1021 | icd->ops = &mt9m111_ops; |
1022 | icd->y_skip_top = 0; | ||
1023 | 1022 | ||
1024 | mt9m111->rect.left = MT9M111_MIN_DARK_COLS; | 1023 | mt9m111->rect.left = MT9M111_MIN_DARK_COLS; |
1025 | mt9m111->rect.top = MT9M111_MIN_DARK_ROWS; | 1024 | mt9m111->rect.top = MT9M111_MIN_DARK_ROWS; |