This is an automatic generated email to let you know that the following patch 
were queued:

Subject: [media] rc: rc6 decoder should report protocol correctly
Author:  Sean Young <s...@mess.org>
Date:    Mon Sep 19 19:21:22 2016 -0300

When reporting decoded protocol use the enum rather than the bitmap.

Signed-off-by: Sean Young <s...@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com>

 drivers/media/rc/ir-rc6-decoder.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

---

diff --git a/drivers/media/rc/ir-rc6-decoder.c 
b/drivers/media/rc/ir-rc6-decoder.c
index e0e2edefa651..5cc54c967a80 100644
--- a/drivers/media/rc/ir-rc6-decoder.c
+++ b/drivers/media/rc/ir-rc6-decoder.c
@@ -248,7 +248,7 @@ again:
                                toggle = 0;
                                break;
                        case 24:
-                               protocol = RC_BIT_RC6_6A_24;
+                               protocol = RC_TYPE_RC6_6A_24;
                                toggle = 0;
                                break;
                        case 32:
@@ -257,7 +257,7 @@ again:
                                        toggle = !!(scancode & 
RC6_6A_MCE_TOGGLE_MASK);
                                        scancode &= ~RC6_6A_MCE_TOGGLE_MASK;
                                } else {
-                                       protocol = RC_BIT_RC6_6A_32;
+                                       protocol = RC_TYPE_RC6_6A_32;
                                        toggle = 0;
                                }
                                break;

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

Reply via email to