]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: v4l2-mem2mem: Fix outdated documentation
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 8 Oct 2025 09:55:18 +0000 (12:55 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Jan 2026 09:14:16 +0000 (10:14 +0100)
commit1f65b924c5f24df5fdd936ce325f96967ce5fa2a
treeee8ca29fada2a0b36ddeac1b7f7157d752a60f13
parentbd1aff606099906281564b255a5bba5d90596a20
media: v4l2-mem2mem: Fix outdated documentation

commit 082b86919b7a94de01d849021b4da820a6cb89dc upstream.

Commit cbd9463da1b1 ("media: v4l2-mem2mem: Avoid calling .device_run in
v4l2_m2m_job_finish") deferred calls to .device_run() to a work queue to
avoid recursive calls when a job is finished right away from
.device_run(). It failed to update the v4l2_m2m_job_finish()
documentation that still states the function must not be called from
.device_run(). Fix it.

Fixes: cbd9463da1b1 ("media: v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish")
Cc: stable@vger.kernel.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/media/v4l2-mem2mem.h