aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/v4l2-core/v4l2-ioctl.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 17:34:56 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 12:36:21 +0100
commitca44d57a7020a45086c5a947eb72a33b2c1081ef (patch)
treea17e10e509c7ca4547c4e46689221442265d993b /drivers/media/v4l2-core/v4l2-ioctl.c
parent912472fd07da4be0de80b49d61b8cb4fb1b0835b (diff)
media: usb: cx231xx: 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/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions