diff options
| author | 2019-03-05 03:36:20 -0500 | |
|---|---|---|
| committer | 2019-03-19 13:34:16 -0400 | |
| commit | 2b177f2849d23061508bb13594cc1bff1ccb46c9 (patch) | |
| tree | af17f637006d58cec9319e6ae442816d37124294 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | media: vimc: free vimc_cap_device when the last user disappears (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 <hverkuil-cisco@xs4all.nl>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
