summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2025-01-28 16:08:18 +0100
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-04-30 08:16:06 +0200
commit6e40cc9b4b462bf13ca69621f417a8658b8e1783 (patch)
tree4688078d1972987913f2e3be2c1a572b4e473125 /tools/perf/scripts/python
parent398a1b33f1479af35ca915c5efc9b00d6204f8fa (diff)
media: omap3isp: drop wait_prepare/finish callbacks
Since commit 88785982a19d ("media: vb2: use lock if wait_prepare/finish are NULL") it is no longer needed to set the wait_prepare/finish vb2_ops callbacks as long as the lock field in vb2_queue is set. Set the queue lock to &video->queue_lock, which makes it possible to drop the wait_prepare/finish callbacks. This simplifies the code and this is a step towards the goal of deleting these callbacks. Note that the lock field of struct video_device is never set in this driver, so the core v4l2_ioctl.c function v4l2_ioctl_get_lock() will never take a lock. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions