aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-test-adapter.cpp
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-11-04 14:45:19 +0100
committerHans Verkuil <hans.verkuil@cisco.com>2016-11-04 14:45:19 +0100
commit788b674f3827607c09c31be11c91638f816aa6ae (patch)
tree1e8315737c4123368dd879d86f042d78402e5c5a /utils/cec-compliance/cec-test-adapter.cpp
parente7334440b86ce54fd06b3eff63448281027c3c70 (diff)
cec-compliance: don't combine RECORD and PLAYBACK
In an attempt to test up to 4 different logical addresses the test code combined RECORD and PLAYBACK types. But RECORD already contains the PLAYBACK functionality, so the framework will give an error when this is attempted. Replace PLAYBACK by AUDIOSYSTEM. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Diffstat (limited to 'utils/cec-compliance/cec-test-adapter.cpp')
-rw-r--r--utils/cec-compliance/cec-test-adapter.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/utils/cec-compliance/cec-test-adapter.cpp b/utils/cec-compliance/cec-test-adapter.cpp
index b4c58b54..12b1578d 100644
--- a/utils/cec-compliance/cec-test-adapter.cpp
+++ b/utils/cec-compliance/cec-test-adapter.cpp
@@ -107,16 +107,17 @@ int testAdapLogAddrs(struct node *node)
CEC_LOG_ADDR_TYPE_TV,
CEC_LOG_ADDR_TYPE_RECORD,
CEC_LOG_ADDR_TYPE_TUNER,
- CEC_LOG_ADDR_TYPE_PLAYBACK
+ CEC_LOG_ADDR_TYPE_AUDIOSYSTEM
};
static const __u8 prim_dev_types[] = {
CEC_OP_PRIM_DEVTYPE_TV,
CEC_OP_PRIM_DEVTYPE_RECORD,
CEC_OP_PRIM_DEVTYPE_TUNER,
- CEC_OP_PRIM_DEVTYPE_PLAYBACK
+ CEC_OP_PRIM_DEVTYPE_AUDIOSYSTEM
};
static const __u8 all_dev_types =
- CEC_OP_ALL_DEVTYPE_TV | CEC_OP_ALL_DEVTYPE_RECORD;
+ CEC_OP_ALL_DEVTYPE_TV | CEC_OP_ALL_DEVTYPE_RECORD |
+ CEC_OP_ALL_DEVTYPE_AUDIOSYSTEM;
static const __u8 features[12] = {
0x90, 0x00, 0x8e, 0x00,
0xff, 0xff, 0xff, 0xff,

Privacy Policy