Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

media: v4l2-mem2mem.h: fix typo in comment

The comment describing the function v4l2_m2m_last_src_buf() says that this
function returns the last destination buffer when it actually returns the
last source buffer. Fix the comment so that it is accurate.

Signed-off-by: Deborah Brouwer <deborah.brouwer@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>

authored by

Deborah Brouwer and committed by
Mauro Carvalho Chehab
ed5000fe dd4229fa

+1 -1
+1 -1
include/media/v4l2-mem2mem.h
··· 668 668 struct vb2_v4l2_buffer *v4l2_m2m_last_buf(struct v4l2_m2m_queue_ctx *q_ctx); 669 669 670 670 /** 671 - * v4l2_m2m_last_src_buf() - return last destination buffer from the list of 671 + * v4l2_m2m_last_src_buf() - return last source buffer from the list of 672 672 * ready buffers 673 673 * 674 674 * @m2m_ctx: m2m context assigned to the instance given by struct &v4l2_m2m_ctx