diff options
author | 2018-11-28 03:37:44 -0500 | |
---|---|---|
committer | 2018-12-03 15:01:38 -0500 | |
commit | b7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840 (patch) | |
tree | 880c0d5dd11bbd0526fb663856bbaf904a5d2883 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: vb2: don't call __vb2_queue_cancel if vb2_start_streaming failed (diff) | |
download | wireguard-linux-b7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840.tar.xz wireguard-linux-b7ff0b099089f3d4bfd4e30f581ee9d9dc4f8840.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions