diff options
| author | Ricardo Ribalda <ribalda@chromium.org> | 2021-06-18 14:29:13 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-09-30 10:07:47 +0200 |
| commit | e3f60e7e1a2b451f538f9926763432249bcf39c4 (patch) | |
| tree | 05fbafb0711691b12974b0ae09367938e5b53dcb /tools/perf/scripts/python/stackcollapse.py | |
| parent | 457e7911dfb81a31834c25ab7f13a4475350459b (diff) | |
| download | linux-e3f60e7e1a2b451f538f9926763432249bcf39c4.tar.gz linux-e3f60e7e1a2b451f538f9926763432249bcf39c4.zip | |
media: uvcvideo: Set unique vdev name based in type
All the entities must have a unique name. We can have a descriptive and
unique name by appending the function and the entity->id.
This is even resilent to multi chain devices.
Fixes v4l2-compliance:
Media Controller ioctls:
fail: v4l2-test-media.cpp(205): v2_entity_names_set.find(key) != v2_entity_names_set.end()
test MEDIA_IOC_G_TOPOLOGY: FAIL
fail: v4l2-test-media.cpp(394): num_data_links != num_links
test MEDIA_IOC_ENUM_ENTITIES/LINKS: FAIL
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
