diff options
| author | Dafna Hirschfeld <[email protected]> | 2020-06-26 10:51:40 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 10:48:12 +0200 |
| commit | b512ab7a85268b3d43d8c504a3e84dbdd923c52b (patch) | |
| tree | 8fdf33fdf47118aed208983f7515af3ce0001751 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 46c308a964fe6515845eacb8765a2c2e2b8c1570 (diff) | |
media: staging: rkisp1: stats: replace locks wq_lock, irq_lock with one lock
This patch removes two locks in the rkisp1_stats struct:
- The mutex 'wq_lock' that is used to protect the buffers list 'stat'
- The spin_lock 'irq_lock' that is used to protect the
variable 'is_streaming'
It replaces them with one spin_lock 'lock' that protects
both the buffers list and the 'is_streaming' variable.
In later patch the reading of the statistics will move to
the isr so there will be no need for the mutex 'wq_lock'
Signed-off-by: Dafna Hirschfeld <[email protected]>
Acked-by: Helen Koike <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions