aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorVandana BN <[email protected]>2019-10-14 05:40:19 -0300
committerMauro Carvalho Chehab <[email protected]>2019-10-24 11:40:56 -0300
commit96f49c1ac370c23ae55c63c67a0b40d83928bfbd (patch)
tree56ea5c7b530976133855aca305575dd0bfa30f1c /tools/perf/scripts/python/stackcollapse.py
parent6ce1d376d33eb775331b36a38afa28f9f08945e3 (diff)
media: v4l2-core: correctly validate video and metadata ioctls
If the type is VFL_TYPE_GRABBER, then also check device_caps to see if the video device supports video and/or metadata and disable unneeded ioctls. Without this change, format ioctls for both video and metadata devices could be called on both device nodes. This is true for other ioctls as well, even if the device supports only video or metadata. Metadata devices act similar to VBI devices w.r.t. which ioctls should be enabled. This makes sense since VBI *is* metadata. Signed-off-by: Vandana BN <[email protected]> Co-developed-by: Hans Verkuil <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions