This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: keytable: add missing protocol names
Author:  Sean Young <s...@mess.org>
Date:    Fri Dec 15 15:32:01 2017 +0000

An imon device (and other rc scancode devices), produce rc protocol other
since the protocol is not known.

Signed-off-by: Sean Young <s...@mess.org>

 utils/common/ir-encode.c | 2 ++
 1 file changed, 2 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=b638ef8b15813494e82148dccd9c0411daa214d9
diff --git a/utils/common/ir-encode.c b/utils/common/ir-encode.c
index 0ddae91c4576..e6b65b5be5df 100644
--- a/utils/common/ir-encode.c
+++ b/utils/common/ir-encode.c
@@ -353,6 +353,8 @@ static const struct {
        unsigned carrier;
        int (*encode)(enum rc_proto proto, unsigned scancode, unsigned *buf);
 } protocols[] = {
+       [RC_PROTO_UNKNOWN] = { "unknown" },
+       [RC_PROTO_OTHER] = { "other" },
        [RC_PROTO_RC5] = { "rc5", 0x1f7f, 24, 36000, rc5_encode },
        [RC_PROTO_RC5X_20] = { "rc5x_20", 0x1f7f3f, 40, 36000, rc5_encode },
        [RC_PROTO_RC5_SZ] = { "rc5_sz", 0x2fff, 26, 36000, rc5_encode },

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to