summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda <ribalda@chromium.org>2024-10-22 07:56:26 +0000
committerHans Verkuil <hverkuil@xs4all.nl>2024-10-28 15:35:56 +0100
commit5d6d950fef1cad7ef7df63d492f5f54a8e4314b5 (patch)
tree5b33d788fd3c830bdb67b0f8d8bc385b1f16ff30
parentfba1aff8d25d48190476891f1959213f9407c9b6 (diff)
downloadlinux-stable-5d6d950fef1cad7ef7df63d492f5f54a8e4314b5.tar.gz
linux-stable-5d6d950fef1cad7ef7df63d492f5f54a8e4314b5.tar.bz2
linux-stable-5d6d950fef1cad7ef7df63d492f5f54a8e4314b5.zip
media: vb2: Fix comment
If V4L2_TYPE_IS_OUTPUT() the information has been initially provided by the user, not by the driver. Fixes: e23ccc0ad925 ("[media] v4l: add videobuf2 Video for Linux 2 driver framework") Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> Acked-by: Tomasz Figa <tfiga@chromium.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--drivers/media/common/videobuf2/videobuf2-v4l2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c b/drivers/media/common/videobuf2/videobuf2-v4l2.c
index 293f3d5f1c4e..9201d854dbcc 100644
--- a/drivers/media/common/videobuf2/videobuf2-v4l2.c
+++ b/drivers/media/common/videobuf2/videobuf2-v4l2.c
@@ -231,7 +231,7 @@ static int vb2_fill_vb2_v4l2_buffer(struct vb2_buffer *vb, struct v4l2_buffer *b
break;
}
- /* Fill in driver-provided information for OUTPUT types */
+ /* Fill in user-provided information for OUTPUT types */
if (V4L2_TYPE_IS_OUTPUT(b->type)) {
/*
* Will have to go up to b->length when API starts