summaryrefslogtreecommitdiff
path: root/drivers/media/usb/cx231xx/cx231xx-417.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 17:34:55 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 12:35:58 +0100
commit912472fd07da4be0de80b49d61b8cb4fb1b0835b (patch)
treed1997c3eeb281630a59f89d054478896c26a32dd /drivers/media/usb/cx231xx/cx231xx-417.c
parentff2560f0263ab30e8ed4bec13495dce050e5d8cc (diff)
media: usb: airspy: 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/usb/cx231xx/cx231xx-417.c')
0 files changed, 0 insertions, 0 deletions