]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: vb2: drop wait_prepare/finish callbacks
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 5 Jun 2025 06:57:39 +0000 (08:57 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 18 Dec 2025 10:14:57 +0000 (11:14 +0100)
commitb70886ff5833cf499e77af77d2324ce8f68b60ce
tree25a6ea426670313d8cfd3e369561e431fabdc31e
parentd0730006dac2922bcd3cd16818516ddd3ffb7302
media: vb2: drop wait_prepare/finish callbacks

Drop the wait_prepare/finish callbacks. Instead require that the vb2_queue
lock field is always set and use that lock when waiting for buffers to
arrive.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Documentation/userspace-api/media/conf_nitpick.py
drivers/media/common/videobuf2/videobuf2-core.c
include/media/videobuf2-core.h