diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-07-06 20:36:21 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-19 10:28:24 +0200 |
| commit | a439e57358ee1562257668d77b19f8f1a629a1fd (patch) | |
| tree | f01c4e1d1cd0604245a3e613e35bd1e966313c3b /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | media: ti-vpe: cal: Use ARRAY_SIZE to replace numerical value (diff) | |
| download | linux-a439e57358ee1562257668d77b19f8f1a629a1fd.tar.gz linux-a439e57358ee1562257668d77b19f8f1a629a1fd.zip | |
media: ti-vpe: cal: Move all sensor-related init to .bound() notifier
The initialization of the context based on the connected sensor is split
between the async notifier .bound() and .complete() operations. Move it
all to a separate function and call it from .bound() operation to
prepare for the move of the notifiers from the contexts to the cal_dev.
Only V4L2 registration is kept in the .complete() operation.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.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
