aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Fjeldtvedt <jaffe1@gmail.com>2016-07-21 15:05:14 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2016-07-21 15:11:30 +0200
commitaf91182864c5b0607453477fba9b0221dab10e06 (patch)
tree401f305d4d884c1fedffaa484ddf28e36c0c4bb5
parentfc8ceab4882c5277316bf28af5f530b62c1dfbf5 (diff)
cec-compliance: fix expected LA masks
Some LA masks were not updated when they went from being used to decide which subtests to run for a device, to indicate which devices are expected to support the subtest instead. Signed-off-by: Johan Fjeldtvedt <jaffe1@gmail.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/cec-compliance/cec-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-test.cpp b/utils/cec-compliance/cec-test.cpp
index d3b2ab95..ef7638a3 100644
--- a/utils/cec-compliance/cec-test.cpp
+++ b/utils/cec-compliance/cec-test.cpp
@@ -270,7 +270,7 @@ static int device_osd_transfer_give(struct node *node, unsigned me, unsigned la,
static struct remote_subtest device_osd_transfer_subtests[] = {
{ "Set OSD Name", CEC_LOG_ADDR_MASK_TV, device_osd_transfer_set },
- { "Give OSD Name", (__u16)~CEC_LOG_ADDR_MASK_TV, device_osd_transfer_give },
+ { "Give OSD Name", CEC_LOG_ADDR_MASK_TV, device_osd_transfer_give },
};
@@ -469,7 +469,7 @@ static int routing_control_set_stream_path(struct node *node, unsigned me, unsig
static struct remote_subtest routing_control_subtests[] = {
{ "Inactive Source", CEC_LOG_ADDR_MASK_TV, routing_control_inactive_source },
{ "Active Source", CEC_LOG_ADDR_MASK_TV, routing_control_active_source },
- { "Request Active Source", (__u16)~CEC_LOG_ADDR_MASK_TV, routing_control_req_active_source },
+ { "Request Active Source", CEC_LOG_ADDR_MASK_ALL, routing_control_req_active_source },
{ "Set Stream Path", CEC_LOG_ADDR_MASK_ALL, routing_control_set_stream_path },
};

Privacy Policy