diff options
| author | Sakari Ailus <[email protected]> | 2023-02-23 16:24:48 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-08-10 07:58:32 +0200 |
| commit | b8ec754ae4c563f6aab8c0cb47aeb2eae67f1da3 (patch) | |
| tree | 390dad8cbc7b995091751e1011d3cd8d9839ed1c /tools/perf/scripts/python/flamegraph.py | |
| parent | 5651bab6890a0c5d126e2559b4aa353bed201e47 (diff) | |
media: v4l: async: Set v4l2_device and subdev in async notifier init
Set the v4l2_device already in async notifier init, so struct device
related to it will be available before the notifier is registered. This
requires separating notifier initialisation into two functions, one that
takes v4l2_device as its argument, v4l2_async_nf_init and
v4l2_async_subdev_nf_init, for sub-device notifiers. Registering the
notifier will use a single function, v4l2_async_nf_register.
This is done in order to make struct device available earlier, during
construction of the async connections, for sensible debug prints.
Signed-off-by: Sakari Ailus <[email protected]>
Tested-by: Philipp Zabel <[email protected]> # imx6qp
Tested-by: Niklas Söderlund <[email protected]> # rcar + adv746x
Tested-by: Aishwarya Kothari <[email protected]> # Apalis i.MX6Q with TC358743
Tested-by: Lad Prabhakar <[email protected]> # Renesas RZ/G2L SMARC
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions