aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-06 20:36:30 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 10:32:41 +0200
commit45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67 (patch)
treed087d9e237b5a2a02920adee46bf02bc89ca92d1 /tools/perf/scripts/python/exported-sql-viewer.py
parentmedia: ti-vpe: cal: Replace number of ports numerical value by macro (diff)
downloadlinux-45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67.tar.gz
linux-45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions