diff options
author | Sakari Ailus <[email protected]> | 2015-12-28 01:45:00 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2016-01-11 12:19:16 -0200 |
commit | bdf5c198261cdda8dcc5375315afe9d8bf4d77d1 (patch) | |
tree | a2d03d22a55622de972b1d75b449babd408dd00c /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | 9f80679511b0544d1ed8c9bc2d80030183e9f1ed (diff) |
[media] v4l2-device: Register entity before calling subdev's registered ops
Registering a V4L2 sub-device includes, among other things, registering
the related media entity and calling the sub-device's registered op. Since
patch "media: convert links from array to list", creating a link between
two pads requires registering the entity first. If the registered() op
involves link creation, the link list head will not be initialised before
it is used.
Resolve this by first registering the entity, then calling its
registered() op.
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions