summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-06 21:36:30 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-19 11:32:41 +0300
commit45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67 (patch)
treed087d9e237b5a2a02920adee46bf02bc89ca92d1 /scripts/patch-kernel
parenta0db060fb100c16b533595f468ed57ba4bb2d5a3 (diff)
downloadlinux-45dd15e6ce2241da7d3f08b86b680d8b7d3dcd67.tar.xz
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 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions