summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBenjamin Gaignard <benjamin.gaignard@collabora.com>2023-11-09 19:34:32 +0300
committerMauro Carvalho Chehab <mchehab@kernel.org>2023-11-23 14:06:51 +0300
commit202de2b5d1b6ba12ab95fe3d6ea2a428888e59b4 (patch)
tree76859211544ea1ddb078a043f592ef773bbb63ef /include/linux
parent73aea586d6c58f55799f6130e19321ff7b574c3d (diff)
downloadlinux-202de2b5d1b6ba12ab95fe3d6ea2a428888e59b4.tar.xz
media: atomisp: Use vb2_get_buffer() instead of directly access to buffers array
Use vb2_get_buffer() instead of direct access to the vb2_queue bufs array. This allows us to change the type of the bufs in the future. No need to check the result of vb2_get_buffer, vb2_ioctl_dqbuf() already checked that it is valid. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> CC: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions