diff options
| author | Javier Martinez Canillas <[email protected]> | 2015-09-08 14:10:56 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-01-11 12:19:02 -0200 |
| commit | db141a355d8914fe80c9e4a6c25c686f64d7e905 (patch) | |
| tree | aa41ac6f2918978f5c6f9b645ec5161eea818383 /tools/perf/scripts/python | |
| parent | 9033b1a47038fdba388fc13613de23508dccb075 (diff) | |
[media] media-entity: init pads on entity init if was registered before
If an entity is registered with a media device before is initialized
with media_device_register_entity(), the number of pads won't be set
so media_device_register_entity() won't create pad objects and add
it to the media device pads list.
Do this at entity initialization time if the entity was registered
before so the graph is complete and correct regardless of the order
in which the entities are initialized and registered.
Suggested-by: Mauro Carvalho Chehab <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions