提交 ab56d5eb 编写于 作者: G Guennadi Liakhovetski 提交者: 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: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册