diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-12-11 15:16:35 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 12:19:09 -0200 |
commit | 1cb2f6f4b1652ad4e19894a4b4b82b0c2ea8a4b6 (patch) | |
tree | 5e95f866d28a165c2843ec8345644fa074fa9c56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 552faf4c083d8e86c6d86160ae3da0412280f690 (diff) |
[media] uvcvideo: register entity subdev on init
The uvc_mc_register_entities() function iterated over the entities three
times to initialize the entities, register the subdev for the ones whose
type was UVC_TT_STREAMING and to create the entities links.
But this can be simplied by merging the init and registration logic in a
single loop.
Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions