diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2024-10-22 07:56:26 +0000 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2024-10-28 15:35:56 +0100 |
commit | 5d6d950fef1cad7ef7df63d492f5f54a8e4314b5 (patch) | |
tree | 5b33d788fd3c830bdb67b0f8d8bc385b1f16ff30 | |
parent | fba1aff8d25d48190476891f1959213f9407c9b6 (diff) | |
download | linux-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.c | 2 |
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 |