]> 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>
Fri, 2 Jan 2026 11:57:11 +0000 (12:57 +0100)
commitd710b4a2c7130627f6ddfefab0ebd3740d96d1e4
tree41272a7bd384ee9e388f5f6f8076363d9f8c0b54
parent2c636fb02af2e80f36686e297c0f295c019937be
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