aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2017-08-07 14:52:01 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2017-08-08 12:27:56 +0200
commitc88e6ed877a72e21a39271ea851589523326af2c (patch)
treeb4e22990229fdbee2109050594975bf2a7177d94
parent172b663ea1fd16909a390f508851098a58061d9b (diff)
keytable.c: add support for the CEC protocol
The CEC protocol wasn't known, so 'Supported protocols:' would just say 'other' instead of 'cec'. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Sean Young <sean@mess.org>
-rw-r--r--utils/keytable/keytable.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/keytable/keytable.c b/utils/keytable/keytable.c
index 634f4561..55abfc19 100644
--- a/utils/keytable/keytable.c
+++ b/utils/keytable/keytable.c
@@ -106,6 +106,7 @@ enum sysfs_protocols {
SYSFS_RC6 = (1 << 10),
SYSFS_SHARP = (1 << 11),
SYSFS_XMP = (1 << 12),
+ SYSFS_CEC = (1 << 13),
SYSFS_INVALID = 0,
};
@@ -138,6 +139,7 @@ const struct protocol_map_entry protocol_map[] = {
{ "rc-6-mce", NULL, SYSFS_INVALID },
{ "sharp", NULL, SYSFS_SHARP },
{ "xmp", "/xmp_decoder", SYSFS_XMP },
+ { "cec", NULL, SYSFS_CEC },
{ NULL, NULL, SYSFS_INVALID },
};

Privacy Policy