瀏覽代碼

[media] vb2: Fix comment in __qbuf_dmabuf

The comment incorrectly explains that the code verifies information
provided by userspace, while verification has been performed earlier in
reality. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Laurent Pinchart 11 年之前
父節點
當前提交
6f546c5ff9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/v4l2-core/videobuf2-core.c

+ 1 - 1
drivers/media/v4l2-core/videobuf2-core.c

@@ -1138,7 +1138,7 @@ static int __qbuf_dmabuf(struct vb2_buffer *vb, const struct v4l2_buffer *b)
 	int ret;
 	int ret;
 	int write = !V4L2_TYPE_IS_OUTPUT(q->type);
 	int write = !V4L2_TYPE_IS_OUTPUT(q->type);
 
 
-	/* Verify and copy relevant information provided by the userspace */
+	/* Copy relevant information provided by the userspace */
 	__fill_vb2_buffer(vb, b, planes);
 	__fill_vb2_buffer(vb, b, planes);
 
 
 	for (plane = 0; plane < vb->num_planes; ++plane) {
 	for (plane = 0; plane < vb->num_planes; ++plane) {