[media] vb2: Fix vb2_core_dqbuf() kernel-doc
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 17 Aug 2016 17:26:28 +0000 (14:26 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 20:15:55 +0000 (17:15 -0300)
The kernel-doc has the wrong function name and also the pindex
parameter is missing in the documentation.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/videobuf2-core.c

index 71d8bd8dcc8121543aa0a2db28c0383032bfb9a2..bfe85879c5630edba9d6c8117154f00aecccb888 100644 (file)
@@ -1733,8 +1733,9 @@ static void __vb2_dqbuf(struct vb2_buffer *vb)
 }
 
 /**
- * vb2_dqbuf() - Dequeue a buffer to the userspace
+ * vb2_core_dqbuf() - Dequeue a buffer to the userspace
  * @q:         videobuf2 queue
+ * @pindex:    pointer to the buffer index. May be NULL
  * @pb:                buffer structure passed from userspace to vidioc_dqbuf handler
  *             in driver
  * @nonblocking: if true, this call will not sleep waiting for a buffer if no