aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-02-27 12:38:19 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:41 -0400
commit9f00edaef8a8741a2d5333676fe9aa23a2a3d2be (patch)
treea71a1d0e0b8dd970622ad30b43f05d15c499d5b3
parentb251e618470fee811535123c2775dfcf2b8223ab (diff)
[media] v4l: videobuf2: Typo fix
vb2_get_plane_payload() gets the bytesused field for a plane, it doesn't set it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-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 0d71fc5efc4..597efe61a34 100644
--- a/include/media/videobuf2-core.h
+++ b/include/media/videobuf2-core.h
@@ -351,7 +351,7 @@ static inline void vb2_set_plane_payload(struct vb2_buffer *vb,
351} 351}
352 352
353/** 353/**
354 * vb2_get_plane_payload() - set bytesused for the plane plane_no 354 * vb2_get_plane_payload() - get bytesused for the plane plane_no
355 * @vb: buffer for which plane payload should be set 355 * @vb: buffer for which plane payload should be set
356 * @plane_no: plane number for which payload should be set 356 * @plane_no: plane number for which payload should be set
357 * @size: payload in bytes 357 * @size: payload in bytes