aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2019-03-05 03:36:20 -0500
committerMauro Carvalho Chehab <[email protected]>2019-03-19 13:34:16 -0400
commit2b177f2849d23061508bb13594cc1bff1ccb46c9 (patch)
treeaf17f637006d58cec9319e6ae442816d37124294 /tools/perf/scripts/python/exported-sql-viewer.py
parent3650a23eda89f99b964fbd63a20320fafaa73e33 (diff)
media: vimc: use new release op
Use the new v4l2_subdev_internal_ops release op to free the subdev memory only when the last user closed the file handle. Move v4l2_device_unregister_subdev() to the end of the vimc_ent_sd_unregister() function since now the unregister_subdev() call may free the vimc_ent_device struct which is used after the unregister_subdev() call. So this now has to be done last. Signed-off-by: Hans Verkuil <[email protected]> Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions