diff options
author | Hans Verkuil <hansverk@cisco.com> | 2018-11-28 11:37:44 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-03 23:01:38 +0300 |
commit | b7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840 (patch) | |
tree | 880c0d5dd11bbd0526fb663856bbaf904a5d2883 /include/media | |
parent | 04990215dec43c424daff00d1f622167b8aafd1f (diff) | |
download | linux-b7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions