diff options
| author | Hans Verkuil <[email protected]> | 2021-11-03 12:28:31 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-15 08:12:04 +0000 |
| commit | cd9d9377ed235b294a492a094e1666178a5e78fd (patch) | |
| tree | 9fe5a594c5909d789d342e2f4feeccf4be74d3d6 /tools/perf/scripts/python/flamegraph.py | |
| parent | 0a1c80c6570005ddc516cf649e0ced76c3d680e5 (diff) | |
media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
If V4L2_CAP_READWRITE is not set, then readbuffers must be set to 0,
otherwise v4l2-compliance will complain.
A note on the Fixes tag below: this patch does not really fix that commit,
but it can be applied from that commit onwards. For older code there is no
guarantee that device_caps is set, so even though this patch would apply,
it will not work reliably.
Signed-off-by: Hans Verkuil <[email protected]>
Fixes: 049e684f2de9 (media: v4l2-dev: fix WARN_ON(!vdev->device_caps))
Cc: <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions