]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: omap3isp: add missing wait_prepare/finish ops
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 2 Sep 2024 08:31:22 +0000 (10:31 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 12 Oct 2024 13:53:40 +0000 (15:53 +0200)
commit6ce4c5dc5dd2706d1821d8ebdc53afad8182c2d5
tree9ab345bc76c8e2d6b5df7ed41300c6dc3b15b9af
parent23788ceb87818393dfaae7e8ba20d6200f9e8678
media: omap3isp: add missing wait_prepare/finish ops

Without these ops the v4l2-compliance blocking wait test will fail.
These ops are required to ensure that when VIDIOC_DQBUF has to
wait for buffers to arrive, the queue lock is correctly released
and retaken. Otherwise the wait for a buffer would block all other
queue ioctls.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti/omap3isp/ispvideo.c