summaryrefslogtreecommitdiff
path: root/drivers/media/pci/tw686x/tw686x-video.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 19:34:36 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 14:10:32 +0300
commit595f445b8f061d1cde2acdef8dfe59c832c20939 (patch)
tree5601a2a8760a2186f6889ae3876ee4b3b401cc1b /drivers/media/pci/tw686x/tw686x-video.c
parentb3b5d2e2297216d5184560583f01f078ce631b75 (diff)
downloadlinux-595f445b8f061d1cde2acdef8dfe59c832c20939.tar.xz
media: dvb-frontends: rtl2832: 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> CC: Antti Palosaari <crope@iki.fi> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/pci/tw686x/tw686x-video.c')
0 files changed, 0 insertions, 0 deletions