diff options
| author | Laurent Pinchart <[email protected]> | 2020-07-06 20:36:30 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2020-07-19 10:32:41 +0200 |
| commit | 45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67 (patch) | |
| tree | d087d9e237b5a2a02920adee46bf02bc89ca92d1 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | a0db060fb100c16b533595f468ed57ba4bb2d5a3 (diff) | |
media: ti-vpe: cal: Split media initialization and cleanup to functions
Create four functions to handle initialization, cleanup, registration
and unregistration of the V4L2 (and soon media controller) objects:
- init() is meant to be called early at probe time to initialize the
objects, before they get used from within the kernel
- cleanup() is the counterpart of init, and is meant to be called at the
end of the remove sequence to free all objects
- register() is meant to be called at the end of the probe sequence, to
register the userspace-facing devices
- unregister() is the counterpart of register, and is meant to be called
at the beginning for the remove sequence, to disallow access from
userspace
Signed-off-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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions