summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2014-08-04 07:12:32 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 20:45:23 -0300
commit44e8e69d46db9928cd3b81cbea4ca24257412286 (patch)
treeeba6533d46addc7042cc2627795f0e5b3594eb9d /include/media
parent23cd08c8f72405359862aff2ad2a8be1c232198c (diff)
downloadop-kernel-dev-44e8e69d46db9928cd3b81cbea4ca24257412286.zip
op-kernel-dev-44e8e69d46db9928cd3b81cbea4ca24257412286.tar.gz
[media] videobuf2-core.h: fix comment
The comment for start_streaming that tells the developer with which vb2 state buffers should be returned to vb2 gave the wrong state. Very confusing. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/videobuf2-core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/media/videobuf2-core.h b/include/media/videobuf2-core.h
index fc910a6..80fa725 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -295,7 +295,7 @@ struct vb2_buffer {
* can return an error if hardware fails, in that case all
* buffers that have been already given by the @buf_queue
* callback are to be returned by the driver by calling
- * @vb2_buffer_done(VB2_BUF_STATE_DEQUEUED).
+ * @vb2_buffer_done(VB2_BUF_STATE_QUEUED).
* If you need a minimum number of buffers before you can
* start streaming, then set @min_buffers_needed in the
* vb2_queue structure. If that is non-zero then
OpenPOWER on IntegriCloud