summaryrefslogtreecommitdiffstats
path: root/drivers/pci/host-bridge.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 17:34:49 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 12:32:58 +0100
commit11678528576e5e9ac857e0faa656fa2b00cda0d3 (patch)
tree016fc20c430d7f0c475d2bc3f16ddb8936291fd2 /drivers/pci/host-bridge.c
parent8858adab5004d3e7d2370d822621d23b07aaa371 (diff)
downloadlinux-stable-11678528576e5e9ac857e0faa656fa2b00cda0d3.tar.gz
linux-stable-11678528576e5e9ac857e0faa656fa2b00cda0d3.tar.bz2
linux-stable-11678528576e5e9ac857e0faa656fa2b00cda0d3.zip
media: touchscreen: sur40: 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> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/pci/host-bridge.c')
0 files changed, 0 insertions, 0 deletions