aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2010-03-23 10:31:46 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:58:00 -0400
commitab56d5eb58182b0c9e179c33ddd3f3aabb6c798f (patch)
tree681cfb95e24913d369d33b61dd3c3a394e344b4a /drivers
parente622681d124688d3caf1bf62cce96465a9078a11 (diff)
V4L/DVB: soc-camera: update comment
soc-camera no longer requires .set_crop() implementations to update their argument. Update the commentary. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/soc_camera.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/video/soc_camera.c b/drivers/media/video/soc_camera.c
index 0c65031f3d82..db1ca0e90d76 100644
--- a/drivers/media/video/soc_camera.c
+++ b/drivers/media/video/soc_camera.c
@@ -753,8 +753,7 @@ static int soc_camera_g_crop(struct file *file, void *fh,
753/* 753/*
754 * According to the V4L2 API, drivers shall not update the struct v4l2_crop 754 * According to the V4L2 API, drivers shall not update the struct v4l2_crop
755 * argument with the actual geometry, instead, the user shall use G_CROP to 755 * argument with the actual geometry, instead, the user shall use G_CROP to
756 * retrieve it. However, we expect camera host and client drivers to update 756 * retrieve it.
757 * the argument, which we then use internally, but do not return to the user.
758 */ 757 */
759static int soc_camera_s_crop(struct file *file, void *fh, 758static int soc_camera_s_crop(struct file *file, void *fh,
760 struct v4l2_crop *a) 759 struct v4l2_crop *a)