Revert "media: videobuf2: core: Rename min_buffers_needed field in vb2_queue"

This reverts commit 4657721876.
This commit is contained in:
CrazyCat
2024-07-30 19:05:53 +03:00
parent 76482c109c
commit 5c61248f8e

View File

@@ -3113,7 +3113,7 @@ static int vdev_init(struct bttv *btv, struct video_device *vfd,
q->gfp_flags = __GFP_DMA32;
q->buf_struct_size = sizeof(struct bttv_buffer);
q->lock = &btv->lock;
q->min_queued_buffers = 2;
q->min_buffers_needed = 2;
q->dev = &btv->c.pci->dev;
err = vb2_queue_init(q);
if (err)