aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <[email protected]>2017-08-08 08:56:23 -0400
committerMauro Carvalho Chehab <[email protected]>2017-08-20 08:09:32 -0400
commit9d15cd958c172c8b02da6ee28638ccbbf7933175 (patch)
treeae5c95757ab996083c78c45887c91f75ec62e5fb /tools/perf/scripts/python
parentdfa6f2400c1f0bb2183996ac1c74f1fc859fca32 (diff)
media: uvcvideo: Convert from using an atomic variable to a reference count
When adding support for metadata nodes, we'll have to keep video devices registered until all metadata nodes are closed too. Since this has nothing to do with stream counting, replace the nstreams atomic variable with a reference counter. Signed-off-by: Guennadi Liakhovetski <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions