diff options
author | Benjamin Gaignard <benjamin.gaignard@collabora.com> | 2023-11-09 19:34:58 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2023-11-23 14:37:17 +0300 |
commit | 4545ca51dd5bd1a652d514a5de9e8ec97579a5b1 (patch) | |
tree | 0bbb00efdce7115ed98ee98d3e5356e6a0aa7f35 /drivers/media/common/videobuf2/videobuf2-v4l2.c | |
parent | 7e17d44d61921cab8e52cb30cc082e3ee96abddd (diff) | |
download | linux-4545ca51dd5bd1a652d514a5de9e8ec97579a5b1.tar.xz |
media: usb: usbtv: Stop direct calls to queue num_buffers field
Use vb2_get_num_buffers() to avoid using queue num_buffers field directly.
This allows us to change how the number of buffers is computed in the
future.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/common/videobuf2/videobuf2-v4l2.c')
0 files changed, 0 insertions, 0 deletions