aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2022-02-17 11:09:31 +0100
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2022-02-17 11:09:31 +0100
commit1be688f01525ab7775b742ea4ceaa0e459d6f46d (patch)
tree18c2ee5d877e0933bf8a0e97eba14827bac26435
parente5000e09485c5b92874c21810336823de4f23dfd (diff)
Revert "Add check for READ ONLY flag"
This reverts commit e5000e09485c5b92874c21810336823de4f23dfd due to a wrong SoB address.
-rw-r--r--utils/v4l2-compliance/v4l2-test-buffers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/v4l2-compliance/v4l2-test-buffers.cpp b/utils/v4l2-compliance/v4l2-test-buffers.cpp
index b8de7afc..fa8c37c4 100644
--- a/utils/v4l2-compliance/v4l2-test-buffers.cpp
+++ b/utils/v4l2-compliance/v4l2-test-buffers.cpp
@@ -2032,8 +2032,7 @@ int testRequests(struct node *node, bool test_streaming)
if (qctrl.type != V4L2_CTRL_TYPE_INTEGER &&
qctrl.type != V4L2_CTRL_TYPE_BOOLEAN)
continue;
- if (qctrl.flags & V4L2_CTRL_FLAG_WRITE_ONLY ||
- qctrl.flags & V4L2_CTRL_FLAG_READ_ONLY)
+ if (qctrl.flags & V4L2_CTRL_FLAG_WRITE_ONLY)
continue;
if (is_vivid && V4L2_CTRL_ID2WHICH(qctrl.id) == V4L2_CTRL_CLASS_VIVID)
continue;

Privacy Policy