media: vb2: Fix comment
authorRicardo Ribalda <ribalda@chromium.org>
Tue, 22 Oct 2024 07:56:26 +0000 (07:56 +0000)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 28 Oct 2024 14:35:56 +0000 (15:35 +0100)
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>
drivers/media/common/videobuf2/videobuf2-v4l2.c

index 293f3d5f1c4e98c33e9044d48c97f2ba0cb12170..9201d854dbcc0c745c56798afcce1afd78a62b5f 100644 (file)
@@ -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