aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2020-07-06 20:36:17 +0200
committerMauro Carvalho Chehab <[email protected]>2020-07-19 09:34:25 +0200
commit6675e871ca4dab14e849298767d34c2722f3ee1e (patch)
treeff41db8f06cfb37f63ffa1a193185b3a1fe7273c /tools/perf/scripts/python/flamegraph.py
parent19a2374068b557ed1a19c68ebaef5f1a161e2973 (diff)
media: ti-vpe: cal: Unregister video device before cleanup
In cal_remove(), unregister the video devices as the first operation, before cleaning up the V4L2 objects, to avoid use-after-free. This isn't a complete solution yet, as video nodes can be kept open across unregistration. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Benoit Parrot <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions