summaryrefslogtreecommitdiffstats
path: root/include/media/videobuf2-core.h
diff options
context:
space:
mode:
authorEzequiel Garcia2019-02-05 22:11:15 +0100
committerMauro Carvalho Chehab2019-02-07 18:35:42 +0100
commitc2d88e7d66f9d327593e0d0f9d7f94755b637e5c (patch)
tree06d05076863199835353dfc8911032efdc0aa28a /include/media/videobuf2-core.h
parentmedia: imx: Validate frame intervals before setting (diff)
downloadkernel-qcow2-linux-c2d88e7d66f9d327593e0d0f9d7f94755b637e5c.tar.gz
kernel-qcow2-linux-c2d88e7d66f9d327593e0d0f9d7f94755b637e5c.tar.xz
kernel-qcow2-linux-c2d88e7d66f9d327593e0d0f9d7f94755b637e5c.zip
media: vb2: Fix buf_out_validate documentation
The .buf_out_validate callback is mandatory for OUTPUT queues. Mark it as such in the callback's doc. Fixes: 28d77c21cb ("media: vb2: add buf_out_validate callback") Signed-off-by: Ezequiel Garcia <ezequiel@collabora.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')
-rw-r--r--include/media/videobuf2-core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index 4849b865b908..06142c1469cc 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -345,7 +345,8 @@ struct vb2_buffer {
* waiting for a new buffer to arrive.
* @buf_out_validate: called when the output buffer is prepared or queued
* to a request; drivers can use this to validate
- * userspace-provided information; optional.
+ * userspace-provided information; this is required only
+ * for OUTPUT queues.
* @buf_init: called once after allocating a buffer (in MMAP case)
* or after acquiring a new USERPTR buffer; drivers may
* perform additional buffer-related initialization;