summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2024-09-02 16:04:55 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2024-10-12 15:54:08 +0200
commit88785982a19daa765e30ab3a605680202cfaee4e (patch)
tree4b5a54b38e04bb68394d2cc3b93d32ea928942a0 /tools/perf/scripts/python/bin/task-analyzer-record
parentc780d01cf1a68182d515ea46a7c85746435a4004 (diff)
downloadlinux-88785982a19daa765e30ab3a605680202cfaee4e.tar.gz
linux-88785982a19daa765e30ab3a605680202cfaee4e.zip
media: vb2: use lock if wait_prepare/finish are NULL
If the wait_prepare or wait_finish callback is set, then call it. If it is NULL and the queue lock pointer is not NULL, then just unlock/lock that mutex. This allows simplifying drivers by dropping the wait_prepare and wait_finish ops (and eventually the vb2_ops_wait_prepare/finish helpers). Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions