summaryrefslogtreecommitdiff
path: root/drivers/media/platform/verisilicon/hantro_postproc.c
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 19:34:44 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 14:29:58 +0300
commit3f9ea948f1690a6bfa6e8730c74b325d38f8ce26 (patch)
treeba39d960e54045425b7d68841a83e10c464a40ad /drivers/media/platform/verisilicon/hantro_postproc.c
parentefd7ae5d95caac9ece5b2dfac0d90a574111d3bf (diff)
downloadlinux-3f9ea948f1690a6bfa6e8730c74b325d38f8ce26.tar.xz
media: nxp: 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: Rui Miguel Silva <rmfrfs@gmail.com> CC: Laurent Pinchart <laurent.pinchart@ideasonboard.com> CC: Martin Kepplinger <martink@posteo.de> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/platform/verisilicon/hantro_postproc.c')
0 files changed, 0 insertions, 0 deletions