Skip to content

Commit

Permalink
[media] v4l: videobuf2: Typo fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent b251e61 commit 9f00eda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/media/videobuf2-core.h
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ static inline void vb2_set_plane_payload(struct vb2_buffer *vb,
}

/**
* vb2_get_plane_payload() - set bytesused for the plane plane_no
* vb2_get_plane_payload() - get bytesused for the plane plane_no
* @vb: buffer for which plane payload should be set
* @plane_no: plane number for which payload should be set
* @size: payload in bytes
Expand Down

0 comments on commit 9f00eda

Please sign in to comment.