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

Subject: [media] iguanair: reset the IR state after rx overflow or receiver 
enable
Author:  Sean Young <[email protected]>
Date:    Mon Aug 13 08:59:44 2012 -0300

Signed-off-by: Sean Young <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/rc/iguanair.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=116e4f592a4d207031b2eaf9dacb57de587146ef

diff --git a/drivers/media/rc/iguanair.c b/drivers/media/rc/iguanair.c
index 6817258..8de690a 100644
--- a/drivers/media/rc/iguanair.c
+++ b/drivers/media/rc/iguanair.c
@@ -123,6 +123,7 @@ static void process_ir_data(struct iguanair *ir, unsigned 
len)
                        break;
                case CMD_RX_OVERFLOW:
                        dev_warn(ir->dev, "receive overflow\n");
+                       ir_raw_event_reset(ir->rc);
                        break;
                default:
                        dev_warn(ir->dev, "control code %02x received\n",
@@ -255,6 +256,9 @@ static int iguanair_receiver(struct iguanair *ir, bool 
enable)
        struct packet packet = { 0, DIR_OUT, enable ?
                                CMD_RECEIVER_ON : CMD_RECEIVER_OFF };
 
+       if (enable)
+               ir_raw_event_reset(ir->rc);
+
        return iguanair_send(ir, &packet, sizeof(packet));
 }
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to