summaryrefslogtreecommitdiff
path: root/drivers/media/platform/ti/omap/omap_vout.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-12-11 16:32:49 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-12-13 19:31:27 +0300
commit80c2b40a51393add616a1fd186a1cc10bd676a3f (patch)
tree228411e748bc8df6e974b624eb4703c9d75e5fe7 /drivers/media/platform/ti/omap/omap_vout.c
parenta3e28ea7771794c2938637f95a4d7a957f45465e (diff)
downloadlinux-80c2b40a51393add616a1fd186a1cc10bd676a3f.tar.xz
media: videobuf2: core: Rename min_buffers_needed field in vb2_queue
Rename min_buffers_needed into min_queued_buffers and update the documentation about it. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: Drop the change where min_queued_buffers + 1 buffers would be] [hverkuil: allocated. Now this patch only renames this field instead of making] [hverkuil: a functional change as well.] [hverkuil: Renamed 3 remaining min_buffers_needed occurrences.]
Diffstat (limited to 'drivers/media/platform/ti/omap/omap_vout.c')
-rw-r--r--drivers/media/platform/ti/omap/omap_vout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/ti/omap/omap_vout.c b/drivers/media/platform/ti/omap/omap_vout.c
index 72ce903717d3..1c56b6a87ced 100644
--- a/drivers/media/platform/ti/omap/omap_vout.c
+++ b/drivers/media/platform/ti/omap/omap_vout.c
@@ -1404,7 +1404,7 @@ static int __init omap_vout_setup_video_data(struct omap_vout_device *vout)
vq->ops = &omap_vout_vb2_ops;
vq->mem_ops = &vb2_dma_contig_memops;
vq->lock = &vout->lock;
- vq->min_buffers_needed = 1;
+ vq->min_queued_buffers = 1;
vfd->queue = vq;
ret = vb2_queue_init(vq);