summaryrefslogtreecommitdiff
path: root/include/media/videobuf2-core.h
diff options
context:
space:
mode:
authorHans Verkuil <hansverk@cisco.com>2018-11-28 03:37:44 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-12-03 15:01:38 -0500
commitb7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840 (patch)
tree880c0d5dd11bbd0526fb663856bbaf904a5d2883 /include/media/videobuf2-core.h
parent04990215dec43c424daff00d1f622167b8aafd1f (diff)
media: vb2: skip request checks for VIDIOC_PREPARE_BUF
VIDIOC_PREPARE_BUF should ignore V4L2_BUF_FLAG_REQUEST_FD since it isn't doing anything with requests. So inform vb2_queue_or_prepare_buf whether it is called from vb2_prepare_buf or vb2_qbuf and just return 0 in the first case. This was found when adding new v4l2-compliance checks. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media/videobuf2-core.h')
0 files changed, 0 insertions, 0 deletions