aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-compliance
diff options
context:
space:
mode:
Diffstat (limited to 'utils/v4l2-compliance')
-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