diff options
| author | Ezequiel Garcia <[email protected]> | 2020-03-28 15:44:16 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-04-14 12:06:23 +0200 |
| commit | 9d3bf4cd9f1e04012679aca71db4ff540b8bf30d (patch) | |
| tree | dd88b56350ebcf14c99842ac4a20db691f2a0b78 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | e472d6a2594bb78277c5c7272f8867652aee9591 (diff) | |
media: vim2m: Remove unneeded buffer lock
This spinlock is used solely to call v4l2_m2m_buf_done().
Since buffers are obtained only after being removed
from the ready queue, there's no concurrent access, and
so no need for synchronization.
Remove the spinlock to make sure no one copies this pattern.
Some archaeology shows this is a small leftover from ancient code.
This driver (then called m2m_testdev) used the videobuf1 framework;
commit d80ee38cd845 ("[media] v4l: mem2mem: port m2m_testdev to vb2")
converted it to videobuf2. The spinlock was then no longer needed,
and this simply went unnoticed.
Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions