aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2022-02-24 12:58:40 +0000
committerMauro Carvalho Chehab <[email protected]>2022-06-27 07:57:44 +0100
commit55fcb913d5d3d1f3d0ce91d8d42c50d9cd496427 (patch)
tree2234e57627aa3b219ff6593a164d8dfcce64d281 /tools/perf/scripts/python/libxed.py
parent56c8534e2d2f9bf789cdfc50e62bc30c992da69f (diff)
media: rkisp1: capture: Fix and simplify (un)registration
The rkisp1_register_capture() and rkisp1_unregister_capture() functions don't destroy the mutex (in the error path for the former). Fix this and make rkisp1_unregister_capture() and rkisp1_capture_devs_unregister() safe to be called on an unregistered capture node to prepare for simplification of error handling at probe time. While at it, drop the double initialization of cap->rkisp1 in rkisp1_capture_devs_register() as the field is already initialized in rkisp1_capture_init(). Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Ricardo Ribalda <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions