Commit ab56d5eb authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Mauro Carvalho Chehab

V4L/DVB: soc-camera: update comment

soc-camera no longer requires .set_crop() implementations to update their
argument. Update the commentary.
Signed-off-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e622681d
...@@ -753,8 +753,7 @@ static int soc_camera_g_crop(struct file *file, void *fh, ...@@ -753,8 +753,7 @@ static int soc_camera_g_crop(struct file *file, void *fh,
/* /*
* According to the V4L2 API, drivers shall not update the struct v4l2_crop * According to the V4L2 API, drivers shall not update the struct v4l2_crop
* argument with the actual geometry, instead, the user shall use G_CROP to * argument with the actual geometry, instead, the user shall use G_CROP to
* retrieve it. However, we expect camera host and client drivers to update * retrieve it.
* the argument, which we then use internally, but do not return to the user.
*/ */
static int soc_camera_s_crop(struct file *file, void *fh, static int soc_camera_s_crop(struct file *file, void *fh,
struct v4l2_crop *a) struct v4l2_crop *a)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment